Struct ldap3::controls::MatchedValues
source · pub struct MatchedValues<S> { /* private fields */ }
Expand description
Matched Values control (RFC 3876)
This control is used to return a subset of attribute values from an entry.
To avoid complicating the filter parser, the dnAttributes
flag can be set
in an Extensible Match expression despite not being specified in the RFC and
having no meaning in this kind of filter.
Implementations§
source§impl<S: AsRef<str>> MatchedValues<S>
impl<S: AsRef<str>> MatchedValues<S>
sourcepub fn new(filter: S) -> RawControl
pub fn new(filter: S) -> RawControl
Create a new control instance with the specified filter.
Trait Implementations§
source§impl<S: Clone> Clone for MatchedValues<S>
impl<S: Clone> Clone for MatchedValues<S>
source§fn clone(&self) -> MatchedValues<S>
fn clone(&self) -> MatchedValues<S>
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<S: Debug> Debug for MatchedValues<S>
impl<S: Debug> Debug for MatchedValues<S>
source§impl<S: AsRef<str>> From<MatchedValues<S>> for RawControl
impl<S: AsRef<str>> From<MatchedValues<S>> for RawControl
source§fn from(assn: MatchedValues<S>) -> RawControl
fn from(assn: MatchedValues<S>) -> RawControl
Converts to this type from the input type.
Auto Trait Implementations§
impl<S> RefUnwindSafe for MatchedValues<S>where S: RefUnwindSafe,
impl<S> Send for MatchedValues<S>where S: Send,
impl<S> Sync for MatchedValues<S>where S: Sync,
impl<S> Unpin for MatchedValues<S>where S: Unpin,
impl<S> UnwindSafe for MatchedValues<S>where S: UnwindSafe,
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