Struct state_objects::UniqueIndex
source · pub struct UniqueIndex<UniqueKey, PrimaryKey> { /* private fields */ }Expand description
Enforces a queryable, uniqueness constraint on a set of fields in a map.
Implementations§
source§impl<UniqueKey, PrimaryKey> UniqueIndex<UniqueKey, PrimaryKey>
impl<UniqueKey, PrimaryKey> UniqueIndex<UniqueKey, PrimaryKey>
Auto Trait Implementations§
impl<UniqueKey, PrimaryKey> Freeze for UniqueIndex<UniqueKey, PrimaryKey>
impl<UniqueKey, PrimaryKey> RefUnwindSafe for UniqueIndex<UniqueKey, PrimaryKey>where
UniqueKey: RefUnwindSafe,
PrimaryKey: RefUnwindSafe,
impl<UniqueKey, PrimaryKey> Send for UniqueIndex<UniqueKey, PrimaryKey>
impl<UniqueKey, PrimaryKey> Sync for UniqueIndex<UniqueKey, PrimaryKey>
impl<UniqueKey, PrimaryKey> Unpin for UniqueIndex<UniqueKey, PrimaryKey>
impl<UniqueKey, PrimaryKey> UnwindSafe for UniqueIndex<UniqueKey, PrimaryKey>where
UniqueKey: UnwindSafe,
PrimaryKey: 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