pub struct IdentityConstraintKey(/* private fields */);Expand description
Identity constraint key (key, unique, keyref)
Trait Implementations§
Source§impl Clone for IdentityConstraintKey
impl Clone for IdentityConstraintKey
Source§fn clone(&self) -> IdentityConstraintKey
fn clone(&self) -> IdentityConstraintKey
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 IdentityConstraintKey
Source§impl Debug for IdentityConstraintKey
impl Debug for IdentityConstraintKey
Source§impl Default for IdentityConstraintKey
impl Default for IdentityConstraintKey
Source§fn default() -> IdentityConstraintKey
fn default() -> IdentityConstraintKey
Returns the “default value” for a type. Read more
impl Eq for IdentityConstraintKey
Source§impl From<KeyData> for IdentityConstraintKey
impl From<KeyData> for IdentityConstraintKey
Source§impl Hash for IdentityConstraintKey
impl Hash for IdentityConstraintKey
Source§impl Key for IdentityConstraintKey
impl Key for IdentityConstraintKey
Source§fn null() -> Self
fn null() -> Self
Creates a new key that is always invalid and distinct from any non-null
key. A null key can only be created through this method (or default
initialization of keys made with
new_key_type!, which calls this
method). Read moreSource§impl Ord for IdentityConstraintKey
impl Ord for IdentityConstraintKey
Source§fn cmp(&self, other: &IdentityConstraintKey) -> Ordering
fn cmp(&self, other: &IdentityConstraintKey) -> Ordering
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for IdentityConstraintKey
impl PartialEq for IdentityConstraintKey
Source§fn eq(&self, other: &IdentityConstraintKey) -> bool
fn eq(&self, other: &IdentityConstraintKey) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl PartialOrd for IdentityConstraintKey
impl PartialOrd for IdentityConstraintKey
impl StructuralPartialEq for IdentityConstraintKey
Auto Trait Implementations§
impl Freeze for IdentityConstraintKey
impl RefUnwindSafe for IdentityConstraintKey
impl Send for IdentityConstraintKey
impl Sync for IdentityConstraintKey
impl Unpin for IdentityConstraintKey
impl UnsafeUnpin for IdentityConstraintKey
impl UnwindSafe for IdentityConstraintKey
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