#[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 duplicate 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 Freeze for SearchOptions
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