Struct ldap_types::basic::DistinguishedName
source · [−]pub struct DistinguishedName {
pub rdns: Vec<RelativeDistinguishedName>,
}
Expand description
a distinguished name is a unique identifier for an entry within the LDAP tree, it is comprised of a comma-separated ordered list of RelativeDistinguishedName components
Fields
rdns: Vec<RelativeDistinguishedName>
the RDN components of the DN
Trait Implementations
sourceimpl Debug for DistinguishedName
impl Debug for DistinguishedName
sourceimpl<'de> Deserialize<'de> for DistinguishedName
impl<'de> Deserialize<'de> for DistinguishedName
sourcefn 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
sourceimpl Ord for DistinguishedName
impl Ord for DistinguishedName
sourceimpl PartialEq<DistinguishedName> for DistinguishedName
impl PartialEq<DistinguishedName> for DistinguishedName
sourcefn eq(&self, other: &DistinguishedName) -> bool
fn eq(&self, other: &DistinguishedName) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &DistinguishedName) -> bool
fn ne(&self, other: &DistinguishedName) -> bool
This method tests for !=
.
sourceimpl PartialOrd<DistinguishedName> for DistinguishedName
impl PartialOrd<DistinguishedName> for DistinguishedName
sourcefn partial_cmp(&self, other: &Self) -> Option<Ordering>
fn partial_cmp(&self, other: &Self) -> Option<Ordering>
This method returns an ordering between self
and other
values if one exists. Read more
1.0.0 · sourcefn lt(&self, other: &Rhs) -> bool
fn lt(&self, other: &Rhs) -> bool
This method tests less than (for self
and other
) and is used by the <
operator. Read more
1.0.0 · sourcefn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for self
and other
) and is used by the <=
operator. Read more
sourceimpl Serialize for DistinguishedName
impl Serialize for DistinguishedName
impl Eq for DistinguishedName
impl StructuralEq for DistinguishedName
impl StructuralPartialEq for DistinguishedName
Auto Trait Implementations
impl RefUnwindSafe for DistinguishedName
impl Send for DistinguishedName
impl Sync for DistinguishedName
impl Unpin for DistinguishedName
impl UnwindSafe for DistinguishedName
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more