pub struct QueryIgnoreParams {
pub ignore_incomplete_payloads: bool,
pub ignore_empty_payloads: bool,
}
Expand description
Describes which entries to ignore during a query.
The Default::default()
ignores nothing.
Fields§
§ignore_incomplete_payloads: bool
Omit entries with locally incomplete corresponding payloads.
ignore_empty_payloads: bool
Omit entries whose payload is the empty string.
Trait Implementations§
Source§impl<'arbitrary> Arbitrary<'arbitrary> for QueryIgnoreParams
impl<'arbitrary> Arbitrary<'arbitrary> for QueryIgnoreParams
Source§fn arbitrary(u: &mut Unstructured<'arbitrary>) -> Result<Self>
fn arbitrary(u: &mut Unstructured<'arbitrary>) -> Result<Self>
Generate an arbitrary value of
Self
from the given unstructured data. Read moreSource§fn arbitrary_take_rest(u: Unstructured<'arbitrary>) -> Result<Self>
fn arbitrary_take_rest(u: Unstructured<'arbitrary>) -> Result<Self>
Generate an arbitrary value of
Self
from the entirety of the given
unstructured data. Read moreSource§fn size_hint(depth: usize) -> (usize, Option<usize>)
fn size_hint(depth: usize) -> (usize, Option<usize>)
Get a size hint for how many bytes out of an
Unstructured
this type
needs to construct itself. Read moreSource§fn try_size_hint(
depth: usize,
) -> Result<(usize, Option<usize>), MaxRecursionReached>
fn try_size_hint( depth: usize, ) -> Result<(usize, Option<usize>), MaxRecursionReached>
Get a size hint for how many bytes out of an
Unstructured
this type
needs to construct itself. Read moreSource§impl Clone for QueryIgnoreParams
impl Clone for QueryIgnoreParams
Source§fn clone(&self) -> QueryIgnoreParams
fn clone(&self) -> QueryIgnoreParams
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 QueryIgnoreParams
impl Debug for QueryIgnoreParams
Source§impl Default for QueryIgnoreParams
impl Default for QueryIgnoreParams
Source§fn default() -> QueryIgnoreParams
fn default() -> QueryIgnoreParams
Returns the “default value” for a type. Read more
Source§impl Hash for QueryIgnoreParams
impl Hash for QueryIgnoreParams
Source§impl Ord for QueryIgnoreParams
impl Ord for QueryIgnoreParams
Source§fn cmp(&self, other: &QueryIgnoreParams) -> Ordering
fn cmp(&self, other: &QueryIgnoreParams) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for QueryIgnoreParams
impl PartialEq for QueryIgnoreParams
Source§impl PartialOrd for QueryIgnoreParams
impl PartialOrd for QueryIgnoreParams
impl Copy for QueryIgnoreParams
impl Eq for QueryIgnoreParams
impl StructuralPartialEq for QueryIgnoreParams
Auto Trait Implementations§
impl Freeze for QueryIgnoreParams
impl RefUnwindSafe for QueryIgnoreParams
impl Send for QueryIgnoreParams
impl Sync for QueryIgnoreParams
impl Unpin for QueryIgnoreParams
impl UnwindSafe for QueryIgnoreParams
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more