Struct cryptographic_message_syntax::asn1::rfc3161::PkiStatusInfo
source · pub struct PkiStatusInfo {
pub status: PkiStatus,
pub status_string: Option<PkiFreeText>,
pub fail_info: Option<PkiFailureInfo>,
}
Expand description
PKI status info
PKIStatusInfo ::= SEQUENCE {
status PKIStatus,
statusString PKIFreeText OPTIONAL,
failInfo PKIFailureInfo OPTIONAL }
Fields§
§status: PkiStatus
§status_string: Option<PkiFreeText>
§fail_info: Option<PkiFailureInfo>
Implementations§
source§impl PkiStatusInfo
impl PkiStatusInfo
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 PkiStatusInfo
impl Clone for PkiStatusInfo
source§fn clone(&self) -> PkiStatusInfo
fn clone(&self) -> PkiStatusInfo
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 PkiStatusInfo
impl Debug for PkiStatusInfo
source§impl PartialEq for PkiStatusInfo
impl PartialEq for PkiStatusInfo
source§fn eq(&self, other: &PkiStatusInfo) -> bool
fn eq(&self, other: &PkiStatusInfo) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for PkiStatusInfo
impl StructuralEq for PkiStatusInfo
impl StructuralPartialEq for PkiStatusInfo
Auto Trait Implementations§
impl RefUnwindSafe for PkiStatusInfo
impl Send for PkiStatusInfo
impl Sync for PkiStatusInfo
impl Unpin for PkiStatusInfo
impl UnwindSafe for PkiStatusInfo
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.