pub enum LdapFilter {
And(Vec<LdapFilter>),
Or(Vec<LdapFilter>),
Not(Vec<u8>),
EqualityMatch(String, String),
Substrings(String, Option<String>, Vec<String>, Option<String>),
GreaterOrEqual(String, String),
LessOrEqual(String, String),
Present(String),
ApproxMatch(String, String),
}Expand description
LDAP search filter (RFC 4511 Section 4.5.1)
Variants§
And(Vec<LdapFilter>)
AND of multiple filters (context tag 0)
Or(Vec<LdapFilter>)
OR of multiple filters (context tag 1)
Not(Vec<u8>)
NOT of a filter (context tag 2)
EqualityMatch(String, String)
Attribute equals value (context tag 3)
Substrings(String, Option<String>, Vec<String>, Option<String>)
Substring match (context tag 4)
GreaterOrEqual(String, String)
Attribute >= value (context tag 5)
LessOrEqual(String, String)
Attribute <= value (context tag 6)
Present(String)
Attribute is present (context tag 7)
ApproxMatch(String, String)
Approximate match (context tag 8)
Trait Implementations§
Source§impl Clone for LdapFilter
impl Clone for LdapFilter
Source§fn clone(&self) -> LdapFilter
fn clone(&self) -> LdapFilter
Returns a duplicate of the value. Read more
1.0.0§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for LdapFilter
impl Debug for LdapFilter
Source§impl PartialEq for LdapFilter
impl PartialEq for LdapFilter
impl Eq for LdapFilter
impl StructuralPartialEq for LdapFilter
Auto Trait Implementations§
impl Freeze for LdapFilter
impl RefUnwindSafe for LdapFilter
impl Send for LdapFilter
impl Sync for LdapFilter
impl Unpin for LdapFilter
impl UnwindSafe for LdapFilter
Blanket Implementations§
§impl<T> Any for Twhere
T: 'static + ?Sized,
impl<T> Any for Twhere
T: 'static + ?Sized,
§impl<T> Borrow<T> for Twhere
T: ?Sized,
impl<T> Borrow<T> for Twhere
T: ?Sized,
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§unsafe fn clone_to_uninit(&self, dest: *mut u8)
unsafe fn clone_to_uninit(&self, dest: *mut u8)
🔬This is a nightly-only experimental API. (
clone_to_uninit)