pub enum RQuery<K, Doc> {
Insert(K, Doc),
Remove(K),
}Variants§
Implementations§
Trait Implementations§
source§impl<'de, K, Doc> Deserialize<'de> for RQuery<K, Doc>where
K: Deserialize<'de>,
Doc: Deserialize<'de>,
impl<'de, K, Doc> Deserialize<'de> for RQuery<K, Doc>where K: Deserialize<'de>, Doc: 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
Auto Trait Implementations§
impl<K, Doc> RefUnwindSafe for RQuery<K, Doc>where Doc: RefUnwindSafe, K: RefUnwindSafe,
impl<K, Doc> Send for RQuery<K, Doc>where Doc: Send, K: Send,
impl<K, Doc> Sync for RQuery<K, Doc>where Doc: Sync, K: Sync,
impl<K, Doc> Unpin for RQuery<K, Doc>where Doc: Unpin, K: Unpin,
impl<K, Doc> UnwindSafe for RQuery<K, Doc>where Doc: UnwindSafe, K: 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