Struct picky_krb::data_types::PrincipalName
source · pub struct PrincipalName {
pub name_type: ExplicitContextTag0<IntegerAsn1>,
pub name_string: ExplicitContextTag1<Asn1SequenceOf<KerberosStringAsn1>>,
}
Expand description
PrincipalName ::= SEQUENCE {
name-type [0] Int32,
name-string [1] SEQUENCE OF KerberosString
}
Fields§
§name_type: ExplicitContextTag0<IntegerAsn1>
§name_string: ExplicitContextTag1<Asn1SequenceOf<KerberosStringAsn1>>
Trait Implementations§
source§impl Clone for PrincipalName
impl Clone for PrincipalName
source§fn clone(&self) -> PrincipalName
fn clone(&self) -> PrincipalName
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 PrincipalName
impl Debug for PrincipalName
source§impl<'de> Deserialize<'de> for PrincipalName
impl<'de> Deserialize<'de> for PrincipalName
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl PartialEq<PrincipalName> for PrincipalName
impl PartialEq<PrincipalName> for PrincipalName
source§fn eq(&self, other: &PrincipalName) -> bool
fn eq(&self, other: &PrincipalName) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for PrincipalName
impl Serialize for PrincipalName
impl Eq for PrincipalName
impl StructuralEq for PrincipalName
impl StructuralPartialEq for PrincipalName
Auto Trait Implementations§
impl RefUnwindSafe for PrincipalName
impl Send for PrincipalName
impl Sync for PrincipalName
impl Unpin for PrincipalName
impl UnwindSafe for PrincipalName
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