Struct ldap_types::basic::OIDWithLength
source · pub struct OIDWithLength {
pub oid: ObjectIdentifier,
pub length: Option<usize>,
}
Expand description
in some locations LDAP allows OIDs with an optional length specifier to describe attribute types with a length limit
Fields§
§oid: ObjectIdentifier
the ObjectIdentifier
length: Option<usize>
the optional maximum length of the value
Trait Implementations§
source§impl Clone for OIDWithLength
impl Clone for OIDWithLength
source§fn clone(&self) -> OIDWithLength
fn clone(&self) -> OIDWithLength
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 OIDWithLength
impl Debug for OIDWithLength
source§impl<'de> Deserialize<'de> for OIDWithLength
impl<'de> Deserialize<'de> for OIDWithLength
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 From<&OIDWithLength> for ObjectIdentifier
impl From<&OIDWithLength> for ObjectIdentifier
source§fn from(value: &OIDWithLength) -> Self
fn from(value: &OIDWithLength) -> Self
Converts to this type from the input type.
source§impl From<OIDWithLength> for ObjectIdentifier
impl From<OIDWithLength> for ObjectIdentifier
source§fn from(value: OIDWithLength) -> Self
fn from(value: OIDWithLength) -> Self
Converts to this type from the input type.
source§impl Hash for OIDWithLength
impl Hash for OIDWithLength
source§impl PartialEq for OIDWithLength
impl PartialEq for OIDWithLength
source§impl Serialize for OIDWithLength
impl Serialize for OIDWithLength
impl Eq for OIDWithLength
Auto Trait Implementations§
impl RefUnwindSafe for OIDWithLength
impl Send for OIDWithLength
impl Sync for OIDWithLength
impl Unpin for OIDWithLength
impl UnwindSafe for OIDWithLength
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