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
sourceimpl Clone for OIDWithLength
impl Clone for OIDWithLength
sourcefn clone(&self) -> OIDWithLength
fn clone(&self) -> OIDWithLength
Returns a copy of the value. Read more
1.0.0 · sourceconst fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl Debug for OIDWithLength
impl Debug for OIDWithLength
sourceimpl<'de> Deserialize<'de> for OIDWithLength
impl<'de> Deserialize<'de> for OIDWithLength
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 From<&OIDWithLength> for ObjectIdentifier
impl From<&OIDWithLength> for ObjectIdentifier
sourcefn from(value: &OIDWithLength) -> Self
fn from(value: &OIDWithLength) -> Self
Converts to this type from the input type.
sourceimpl From<OIDWithLength> for ObjectIdentifier
impl From<OIDWithLength> for ObjectIdentifier
sourcefn from(value: OIDWithLength) -> Self
fn from(value: OIDWithLength) -> Self
Converts to this type from the input type.
sourceimpl Hash for OIDWithLength
impl Hash for OIDWithLength
sourceimpl PartialEq<OIDWithLength> for OIDWithLength
impl PartialEq<OIDWithLength> for OIDWithLength
sourceimpl 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
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
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