Struct cryptographic_message_syntax::asn1::rfc3161::TimeStampResp
source · pub struct TimeStampResp {
pub status: PkiStatusInfo,
pub time_stamp_token: Option<TimeStampToken>,
}
Expand description
Time stamp response.
TimeStampResp ::= SEQUENCE {
status PKIStatusInfo,
timeStampToken TimeStampToken OPTIONAL }
Fields§
§status: PkiStatusInfo
§time_stamp_token: Option<TimeStampToken>
Implementations§
source§impl TimeStampResp
impl TimeStampResp
pub fn take_from<S: Source>( cons: &mut Constructed<'_, S> ) -> Result<Self, DecodeError<S::Error>>
pub fn encode_ref(&self) -> impl Values + '_
Trait Implementations§
source§impl Clone for TimeStampResp
impl Clone for TimeStampResp
source§fn clone(&self) -> TimeStampResp
fn clone(&self) -> TimeStampResp
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for TimeStampResp
impl Debug for TimeStampResp
source§impl From<TimeStampResp> for TimeStampResponse
impl From<TimeStampResp> for TimeStampResponse
source§fn from(resp: TimeStampResp) -> Self
fn from(resp: TimeStampResp) -> Self
Converts to this type from the input type.
source§impl PartialEq for TimeStampResp
impl PartialEq for TimeStampResp
source§fn eq(&self, other: &TimeStampResp) -> bool
fn eq(&self, other: &TimeStampResp) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for TimeStampResp
impl StructuralEq for TimeStampResp
impl StructuralPartialEq for TimeStampResp
Auto Trait Implementations§
impl RefUnwindSafe for TimeStampResp
impl Send for TimeStampResp
impl Sync for TimeStampResp
impl Unpin for TimeStampResp
impl UnwindSafe for TimeStampResp
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.