pub struct UuidKeyed<O: Indexable + Hashable> {
pub inner: O,
}
Fields§
§inner: O
Trait Implementations§
source§impl<'de, O> Deserialize<'de> for UuidKeyed<O>
impl<'de, O> Deserialize<'de> for UuidKeyed<O>
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
source§impl<O: Indexable + Serialize + for<'a> Deserialize<'a> + Hashable> Indexable for UuidKeyed<O>
impl<O: Indexable + Serialize + for<'a> Deserialize<'a> + Hashable> Indexable for UuidKeyed<O>
const PRIMARY_KEY: &'static str = "uuid"
const DEFAULT_SORT: &'static str = O::DEFAULT_SORT
fn primary_key(&self) -> Vec<u8> ⓘ
fn secondary_keys(&self) -> Index
impl<O: Indexable + Hashable> StructuralPartialEq for UuidKeyed<O>
Auto Trait Implementations§
impl<O> Freeze for UuidKeyed<O>where
O: Freeze,
impl<O> RefUnwindSafe for UuidKeyed<O>where
O: RefUnwindSafe,
impl<O> Send for UuidKeyed<O>where
O: Send,
impl<O> Sync for UuidKeyed<O>where
O: Sync,
impl<O> Unpin for UuidKeyed<O>where
O: Unpin,
impl<O> UnwindSafe for UuidKeyed<O>where
O: 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§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
)