pub enum IdentityKind {
Key,
Keyref,
Unique,
}Expand description
Identity constraint kind
Variants§
Trait Implementations§
Source§impl Clone for IdentityKind
impl Clone for IdentityKind
Source§fn clone(&self) -> IdentityKind
fn clone(&self) -> IdentityKind
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for IdentityKind
Source§impl Debug for IdentityKind
impl Debug for IdentityKind
impl Eq for IdentityKind
Source§impl PartialEq for IdentityKind
impl PartialEq for IdentityKind
Source§fn eq(&self, other: &IdentityKind) -> bool
fn eq(&self, other: &IdentityKind) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for IdentityKind
Auto Trait Implementations§
impl Freeze for IdentityKind
impl RefUnwindSafe for IdentityKind
impl Send for IdentityKind
impl Sync for IdentityKind
impl Unpin for IdentityKind
impl UnsafeUnpin for IdentityKind
impl UnwindSafe for IdentityKind
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