pub struct SaslCredentials<'a> {
pub mechanism: LdapString<'a>,
pub credentials: Option<Cow<'a, [u8]>>,
}
Fields§
§mechanism: LdapString<'a>
§credentials: Option<Cow<'a, [u8]>>
Trait Implementations§
Source§impl<'a> Clone for SaslCredentials<'a>
impl<'a> Clone for SaslCredentials<'a>
Source§fn clone(&self) -> SaslCredentials<'a>
fn clone(&self) -> SaslCredentials<'a>
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<'a> Debug for SaslCredentials<'a>
impl<'a> Debug for SaslCredentials<'a>
Source§impl<'a> PartialEq for SaslCredentials<'a>
impl<'a> PartialEq for SaslCredentials<'a>
Source§impl<'a> ToStatic for SaslCredentials<'a>
impl<'a> ToStatic for SaslCredentials<'a>
impl<'a> Eq for SaslCredentials<'a>
impl<'a> StructuralPartialEq for SaslCredentials<'a>
Auto Trait Implementations§
impl<'a> Freeze for SaslCredentials<'a>
impl<'a> RefUnwindSafe for SaslCredentials<'a>
impl<'a> Send for SaslCredentials<'a>
impl<'a> Sync for SaslCredentials<'a>
impl<'a> Unpin for SaslCredentials<'a>
impl<'a> UnwindSafe for SaslCredentials<'a>
Blanket Implementations§
Source§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
Source§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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