Enum bonsaidb_core::connection::QueryKey
source · [−]Expand description
Filters a View by key.
Variants
Matches(K)
Matches all entries with the key provided.
Range(Range<K>)
Matches all entires with keys in the range provided.
Multiple(Vec<K>)
Matches all entries that have keys that are included in the set provided.
Implementations
Trait Implementations
sourceimpl<'de, K> Deserialize<'de> for QueryKey<K> where
K: Deserialize<'de>,
impl<'de, K> Deserialize<'de> for QueryKey<K> where
K: Deserialize<'de>,
sourcefn 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> RefUnwindSafe for QueryKey<K> where
K: RefUnwindSafe,
impl<K> Send for QueryKey<K> where
K: Send,
impl<K> Sync for QueryKey<K> where
K: Sync,
impl<K> Unpin for QueryKey<K> where
K: Unpin,
impl<K> UnwindSafe for QueryKey<K> where
K: UnwindSafe,
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
pub fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcepub fn to_owned(&self) -> T
pub fn to_owned(&self) -> T
Creates owned data from borrowed data, usually by cloning. Read more
sourcepub fn clone_into(&self, target: &mut T)
pub fn clone_into(&self, target: &mut T)
🔬 This is a nightly-only experimental API. (
toowned_clone_into)Uses borrowed data to replace owned data, usually by cloning. Read more