pub enum IdentityAttr {
Handle,
Any,
}Expand description
The part of an account’s identity an identity: scope names.
Variants§
Handle
handle: the account’s handle, and its entry in the DID document.
Any
*: the whole DID document, and the handle.
Implementations§
Trait Implementations§
Source§impl Clone for IdentityAttr
impl Clone for IdentityAttr
Source§fn clone(&self) -> IdentityAttr
fn clone(&self) -> IdentityAttr
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 moreSource§impl Debug for IdentityAttr
impl Debug for IdentityAttr
Source§impl Display for IdentityAttr
impl Display for IdentityAttr
Source§impl Hash for IdentityAttr
impl Hash for IdentityAttr
Source§impl Ord for IdentityAttr
impl Ord for IdentityAttr
Source§fn cmp(&self, other: &IdentityAttr) -> Ordering
fn cmp(&self, other: &IdentityAttr) -> 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 IdentityAttr
impl PartialEq for IdentityAttr
Source§fn eq(&self, other: &IdentityAttr) -> bool
fn eq(&self, other: &IdentityAttr) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl PartialOrd for IdentityAttr
impl PartialOrd for IdentityAttr
impl Copy for IdentityAttr
impl Eq for IdentityAttr
impl StructuralPartialEq for IdentityAttr
Auto Trait Implementations§
impl Freeze for IdentityAttr
impl RefUnwindSafe for IdentityAttr
impl Send for IdentityAttr
impl Sync for IdentityAttr
impl Unpin for IdentityAttr
impl UnsafeUnpin for IdentityAttr
impl UnwindSafe for IdentityAttr
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,
§impl<Q, K> Comparable<K> for Q
impl<Q, K> Comparable<K> for Q
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.