#[repr(i32)]pub enum AccountType {
Invalid = 0,
Gmail = 1,
}Variants§
Implementations§
Source§impl AccountType
impl AccountType
Source§impl AccountType
impl AccountType
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 AccountType
impl Clone for AccountType
Source§fn clone(&self) -> AccountType
fn clone(&self) -> AccountType
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 AccountType
impl Debug for AccountType
Source§impl Default for AccountType
impl Default for AccountType
Source§fn default() -> AccountType
fn default() -> AccountType
Returns the “default value” for a type. Read more
Source§impl From<AccountType> for i32
impl From<AccountType> for i32
Source§fn from(value: AccountType) -> i32
fn from(value: AccountType) -> i32
Converts to this type from the input type.
Source§impl Hash for AccountType
impl Hash for AccountType
Source§impl Ord for AccountType
impl Ord for AccountType
Source§fn cmp(&self, other: &AccountType) -> Ordering
fn cmp(&self, other: &AccountType) -> 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 AccountType
impl PartialEq for AccountType
Source§impl PartialOrd for AccountType
impl PartialOrd for AccountType
impl Copy for AccountType
impl Eq for AccountType
impl StructuralPartialEq for AccountType
Auto Trait Implementations§
impl Freeze for AccountType
impl RefUnwindSafe for AccountType
impl Send for AccountType
impl Sync for AccountType
impl Unpin for AccountType
impl UnwindSafe for AccountType
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