#[repr(i32)]pub enum AccountScope {
Invalid = 0,
Email = 1,
}Variants§
Implementations§
Source§impl AccountScope
impl AccountScope
Source§impl AccountScope
impl AccountScope
Sourcepub fn as_str_name(&self) -> &'static str
pub fn as_str_name(&self) -> &'static str
String value of the enum field names used in the ProtoBuf definition.
The values are not transformed in any way and thus are considered stable (if the ProtoBuf definition does not change) and safe for programmatic use.
Trait Implementations§
Source§impl Clone for AccountScope
impl Clone for AccountScope
Source§fn clone(&self) -> AccountScope
fn clone(&self) -> AccountScope
Returns a duplicate of the value. Read more
1.0.0 · 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 AccountScope
impl Debug for AccountScope
Source§impl Default for AccountScope
impl Default for AccountScope
Source§fn default() -> AccountScope
fn default() -> AccountScope
Returns the “default value” for a type. Read more
Source§impl From<AccountScope> for i32
impl From<AccountScope> for i32
Source§fn from(value: AccountScope) -> i32
fn from(value: AccountScope) -> i32
Converts to this type from the input type.
Source§impl Hash for AccountScope
impl Hash for AccountScope
Source§impl Ord for AccountScope
impl Ord for AccountScope
Source§fn cmp(&self, other: &AccountScope) -> Ordering
fn cmp(&self, other: &AccountScope) -> Ordering
1.21.0 · 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 AccountScope
impl PartialEq for AccountScope
Source§impl PartialOrd for AccountScope
impl PartialOrd for AccountScope
impl Copy for AccountScope
impl Eq for AccountScope
impl StructuralPartialEq for AccountScope
Auto Trait Implementations§
impl Freeze for AccountScope
impl RefUnwindSafe for AccountScope
impl Send for AccountScope
impl Sync for AccountScope
impl Unpin for AccountScope
impl UnwindSafe for AccountScope
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