Struct dittolive_ditto::store::dql::QueryArguments
source · [−]pub struct QueryArguments { /* private fields */ }
Expand description
Arguments that can be used with an associated Query
.
Currently QueryArguments can only be created from types that implement
serde::Serialize
.
Trait Implementations
sourceimpl Debug for QueryArguments
impl Debug for QueryArguments
sourceimpl<T: Serialize> From<T> for QueryArguments
impl<T: Serialize> From<T> for QueryArguments
sourcefn from(query_args: T) -> QueryArguments
fn from(query_args: T) -> QueryArguments
Converts to this type from the input type.
sourceimpl Hash for QueryArguments
impl Hash for QueryArguments
sourceimpl Ord for QueryArguments
impl Ord for QueryArguments
sourcefn cmp(&self, other: &QueryArguments) -> Ordering
fn cmp(&self, other: &QueryArguments) -> Ordering
1.21.0 · sourcefn 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
1.21.0 · sourcefn min(self, other: Self) -> Selfwhere
Self: Sized,
fn min(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the minimum of two values. Read more
1.50.0 · sourcefn clamp(self, min: Self, max: Self) -> Selfwhere
Self: Sized + PartialOrd<Self>,
fn clamp(self, min: Self, max: Self) -> Selfwhere
Self: Sized + PartialOrd<Self>,
Restrict a value to a certain interval. Read more
sourceimpl PartialEq<QueryArguments> for QueryArguments
impl PartialEq<QueryArguments> for QueryArguments
sourcefn eq(&self, other: &QueryArguments) -> bool
fn eq(&self, other: &QueryArguments) -> bool
sourceimpl PartialOrd<QueryArguments> for QueryArguments
impl PartialOrd<QueryArguments> for QueryArguments
sourcefn partial_cmp(&self, other: &QueryArguments) -> Option<Ordering>
fn partial_cmp(&self, other: &QueryArguments) -> Option<Ordering>
1.0.0 · sourcefn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moreimpl Eq for QueryArguments
impl StructuralEq for QueryArguments
impl StructuralPartialEq for QueryArguments
Auto Trait Implementations
impl RefUnwindSafe for QueryArguments
impl Send for QueryArguments
impl Sync for QueryArguments
impl Unpin for QueryArguments
impl UnwindSafe for QueryArguments
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
impl<T> CompatExt for T
impl<T> CompatExt for T
fn compat_ref(&self) -> Compat<&T>
fn compat_ref(&self) -> Compat<&T>
Applies the [
Compat
] adapter by shared reference. Read morefn compat_mut(&mut self) -> Compat<&mut T>
fn compat_mut(&mut self) -> Compat<&mut T>
Applies the [
Compat
] adapter by mutable reference. Read moreimpl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more