Struct ldap_types::basic::RelativeDistinguishedName
source · pub struct RelativeDistinguishedName {
pub attributes: Vec<(KeyStringOrOID, Vec<u8>)>,
}
Expand description
a relative distinguished name is one of the components of a distinguished name usually a single pair of a keystring or an OID along with its attribute value but it can also be a plus sign separated string of several such pairs
Fields§
§attributes: Vec<(KeyStringOrOID, Vec<u8>)>
the attributes of the RDN
Trait Implementations§
source§impl Clone for RelativeDistinguishedName
impl Clone for RelativeDistinguishedName
source§fn clone(&self) -> RelativeDistinguishedName
fn clone(&self) -> RelativeDistinguishedName
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 RelativeDistinguishedName
impl Debug for RelativeDistinguishedName
source§impl<'de> Deserialize<'de> for RelativeDistinguishedName
impl<'de> Deserialize<'de> for RelativeDistinguishedName
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 Display for RelativeDistinguishedName
impl Display for RelativeDistinguishedName
source§impl From<RelativeDistinguishedName> for String
impl From<RelativeDistinguishedName> for String
source§fn from(rdn: RelativeDistinguishedName) -> Self
fn from(rdn: RelativeDistinguishedName) -> Self
Converts to this type from the input type.
source§impl FromStr for RelativeDistinguishedName
impl FromStr for RelativeDistinguishedName
source§impl Hash for RelativeDistinguishedName
impl Hash for RelativeDistinguishedName
source§impl Ord for RelativeDistinguishedName
impl Ord for RelativeDistinguishedName
source§fn cmp(&self, other: &RelativeDistinguishedName) -> Ordering
fn cmp(&self, other: &RelativeDistinguishedName) -> Ordering
1.21.0 · source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
source§impl PartialEq for RelativeDistinguishedName
impl PartialEq for RelativeDistinguishedName
source§fn eq(&self, other: &RelativeDistinguishedName) -> bool
fn eq(&self, other: &RelativeDistinguishedName) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd for RelativeDistinguishedName
impl PartialOrd for RelativeDistinguishedName
source§fn partial_cmp(&self, other: &RelativeDistinguishedName) -> Option<Ordering>
fn partial_cmp(&self, other: &RelativeDistinguishedName) -> Option<Ordering>
1.0.0 · source§fn 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 moresource§impl TryFrom<&str> for RelativeDistinguishedName
impl TryFrom<&str> for RelativeDistinguishedName
source§impl TryFrom<String> for RelativeDistinguishedName
impl TryFrom<String> for RelativeDistinguishedName
impl Eq for RelativeDistinguishedName
impl StructuralEq for RelativeDistinguishedName
impl StructuralPartialEq for RelativeDistinguishedName
Auto Trait Implementations§
impl RefUnwindSafe for RelativeDistinguishedName
impl Send for RelativeDistinguishedName
impl Sync for RelativeDistinguishedName
impl Unpin for RelativeDistinguishedName
impl UnwindSafe for RelativeDistinguishedName
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