pub enum KeyAccess<K> {
Single(K),
Many(Vec<K>),
}Expand description
KeyAccess Primary-key-only access hints for query planning.
Variants§
Trait Implementations§
impl<K: Eq> Eq for KeyAccess<K>
impl<K> StructuralPartialEq for KeyAccess<K>
Auto Trait Implementations§
impl<K> Freeze for KeyAccess<K>where
K: Freeze,
impl<K> RefUnwindSafe for KeyAccess<K>where
K: RefUnwindSafe,
impl<K> Send for KeyAccess<K>where
K: Send,
impl<K> Sync for KeyAccess<K>where
K: Sync,
impl<K> Unpin for KeyAccess<K>where
K: Unpin,
impl<K> UnsafeUnpin for KeyAccess<K>where
K: UnsafeUnpin,
impl<K> UnwindSafe for KeyAccess<K>where
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