pub struct Query<M> {
pub source: Option<Source>,
pub matcher: Option<M>,
pub counter: u16,
}
Fields§
§source: Option<Source>
§matcher: Option<M>
§counter: u16
Trait Implementations§
source§impl<'de, M> Deserialize<'de> for Query<M>where
M: Deserialize<'de>,
impl<'de, M> Deserialize<'de> for Query<M>where
M: Deserialize<'de>,
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl<M: Eq> Eq for Query<M>
impl<M> StructuralPartialEq for Query<M>
Auto Trait Implementations§
impl<M> Freeze for Query<M>where
M: Freeze,
impl<M> RefUnwindSafe for Query<M>where
M: RefUnwindSafe,
impl<M> Send for Query<M>where
M: Send,
impl<M> Sync for Query<M>where
M: Sync,
impl<M> Unpin for Query<M>where
M: Unpin,
impl<M> UnwindSafe for Query<M>where
M: UnwindSafe,
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
§impl<T> CloneAny for T
impl<T> CloneAny for T
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.§impl<Tail, T> Prepend<T> for Tail
impl<Tail, T> Prepend<T> for Tail
§type PreprendResult = Tail
type PreprendResult = Tail
The Resulting [
TupleList
], of an [Prepend::prepend()
] call,
including the prepended entry.