pub struct QueryKey<Q> {
pub instance: InstanceKey,
pub query: Q,
}Expand description
Cache key combining the instance and the sub-query discriminator.
Fields§
§instance: InstanceKey§query: QTrait Implementations§
impl<Q> Eq for QueryKey<Q>where
Q: Eq,
impl<Q> StructuralPartialEq for QueryKey<Q>where
Q: PartialEq,
Auto Trait Implementations§
impl<Q> Forget for QueryKey<Q>
impl<Q> Freeze for QueryKey<Q>
impl<Q> Move for QueryKey<Q>
impl<Q> RefUnwindSafe for QueryKey<Q>where
Q: RefUnwindSafe,
impl<Q> Send for QueryKey<Q>
impl<Q> Sync for QueryKey<Q>
impl<Q> Unpin for QueryKey<Q>
impl<Q> UnsafeUnpin for QueryKey<Q>
impl<Q> UnwindSafe for QueryKey<Q>where
RawVecInner: UnwindSafe,
Q: 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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
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.