Struct ldap3::SearchOptions
[−]
[src]
pub struct SearchOptions { /* fields omitted */ }
Additional parameters for the Search operation.
Methods
impl SearchOptions
[src]
fn new() -> Self
Create an instance of the structure with default values.
fn deref(self, d: DerefAliases) -> Self
Set the method for dereferencing aliases.
fn typesonly(self, typesonly: bool) -> Self
Set the indicator of returning just attribute names (true
) vs. names and values (false
).
fn timelimit(self, timelimit: i32) -> Self
Set the time limit, in seconds, for the whole search operation.
This is a server-side limit of the elapsed time for performing the operation, not a network timeout for retrieving result entries or the result of the whole operation.
fn sizelimit(self, sizelimit: i32) -> Self
Set the size limit, in entries, for the whole search operation.