pub struct SearchParams { /* private fields */ }Implementations§
Source§impl SearchParams
impl SearchParams
Sourcepub fn new(base: impl Into<String>, scope: SearchScope, filter: Filter) -> Self
pub fn new(base: impl Into<String>, scope: SearchScope, filter: Filter) -> Self
A search under base. The empty DN is the root DSE, not the client’s
default base.
Sourcepub fn under_default_base(scope: SearchScope, filter: Filter) -> Self
pub fn under_default_base(scope: SearchScope, filter: Filter) -> Self
A search under the base DN the client was configured with, or under the empty DN when it has none.
pub fn attributes( self, attributes: impl IntoIterator<Item = impl Into<String>>, ) -> Self
pub fn deref_aliases(self, deref: DerefAliases) -> Self
pub fn size_limit(self, limit: NonZeroU32) -> Self
pub fn time_limit(self, limit: Duration) -> Self
pub fn types_only(self) -> Self
pub fn controls(self, controls: Vec<Control>) -> Self
Trait Implementations§
Source§impl Clone for SearchParams
impl Clone for SearchParams
Auto Trait Implementations§
impl Forget for SearchParams
impl Freeze for SearchParams
impl Move for SearchParams
impl RefUnwindSafe for SearchParams
impl Send for SearchParams
impl Sync for SearchParams
impl Unpin for SearchParams
impl UnsafeUnpin for SearchParams
impl UnwindSafe for SearchParams
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