Struct ldap3::SearchOptions
source · #[non_exhaustive]pub struct SearchOptions {
pub deref: DerefAliases,
pub typesonly: bool,
pub timelimit: i32,
pub sizelimit: i32,
}
Expand description
Additional parameters for the Search operation.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.deref: DerefAliases
§typesonly: bool
§timelimit: i32
§sizelimit: i32
Implementations§
source§impl SearchOptions
impl SearchOptions
sourcepub fn deref(self, d: DerefAliases) -> Self
pub fn deref(self, d: DerefAliases) -> Self
Set the method for dereferencing aliases.
sourcepub fn typesonly(self, typesonly: bool) -> Self
pub fn typesonly(self, typesonly: bool) -> Self
Set the indicator of returning just attribute names (true
) vs. names and values (false
).
Trait Implementations§
source§impl Clone for SearchOptions
impl Clone for SearchOptions
source§fn clone(&self) -> SearchOptions
fn clone(&self) -> SearchOptions
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 SearchOptions
impl Debug for SearchOptions
source§impl Default for SearchOptions
impl Default for SearchOptions
source§fn default() -> SearchOptions
fn default() -> SearchOptions
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl RefUnwindSafe for SearchOptions
impl Send for SearchOptions
impl Sync for SearchOptions
impl Unpin for SearchOptions
impl UnwindSafe for SearchOptions
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