pub enum AccountAttr {
Email,
Repo,
}Expand description
The part of an account’s hosting an account: scope names.
Variants§
email: the account’s email address, and whether it is confirmed.
Repo
repo: the whole repository, imported as a CAR file.
Implementations§
Source§impl AccountAttr
impl AccountAttr
fn parse(value: &str) -> Result<Self, ScopeParseError>
Trait Implementations§
Source§impl Clone for AccountAttr
impl Clone for AccountAttr
Source§fn clone(&self) -> AccountAttr
fn clone(&self) -> AccountAttr
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 AccountAttr
impl Debug for AccountAttr
Source§impl Display for AccountAttr
impl Display for AccountAttr
Source§impl Hash for AccountAttr
impl Hash for AccountAttr
Source§impl Ord for AccountAttr
impl Ord for AccountAttr
Source§fn cmp(&self, other: &AccountAttr) -> Ordering
fn cmp(&self, other: &AccountAttr) -> 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 AccountAttr
impl PartialEq for AccountAttr
Source§fn eq(&self, other: &AccountAttr) -> bool
fn eq(&self, other: &AccountAttr) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl PartialOrd for AccountAttr
impl PartialOrd for AccountAttr
impl Copy for AccountAttr
impl Eq for AccountAttr
impl StructuralPartialEq for AccountAttr
Auto Trait Implementations§
impl Freeze for AccountAttr
impl RefUnwindSafe for AccountAttr
impl Send for AccountAttr
impl Sync for AccountAttr
impl Unpin for AccountAttr
impl UnsafeUnpin for AccountAttr
impl UnwindSafe for AccountAttr
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.