pub enum AuthenticationType {
AUTHENTICATION_USER_PASS = 0,
AUTHENTICATION_STORED_SPOTIFY_CREDENTIALS = 1,
AUTHENTICATION_STORED_FACEBOOK_CREDENTIALS = 2,
AUTHENTICATION_SPOTIFY_TOKEN = 3,
AUTHENTICATION_FACEBOOK_TOKEN = 4,
}
Variants§
AUTHENTICATION_USER_PASS = 0
AUTHENTICATION_STORED_SPOTIFY_CREDENTIALS = 1
AUTHENTICATION_STORED_FACEBOOK_CREDENTIALS = 2
AUTHENTICATION_SPOTIFY_TOKEN = 3
AUTHENTICATION_FACEBOOK_TOKEN = 4
Trait Implementations§
Source§impl Clone for AuthenticationType
impl Clone for AuthenticationType
Source§fn clone(&self) -> AuthenticationType
fn clone(&self) -> AuthenticationType
Returns a copy 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 AuthenticationType
impl Debug for AuthenticationType
Source§impl Default for AuthenticationType
impl Default for AuthenticationType
Source§impl Enum for AuthenticationType
impl Enum for AuthenticationType
Source§const NAME: &'static str = "AuthenticationType"
const NAME: &'static str = "AuthenticationType"
Enum name as specified in
.proto
file. Read moreSource§const VALUES: &'static [AuthenticationType]
const VALUES: &'static [AuthenticationType]
All enum values for enum type.
Source§impl EnumFull for AuthenticationType
impl EnumFull for AuthenticationType
Source§fn enum_descriptor() -> EnumDescriptor
fn enum_descriptor() -> EnumDescriptor
Get enum descriptor by type.
Source§fn descriptor(&self) -> EnumValueDescriptor
fn descriptor(&self) -> EnumValueDescriptor
Get enum value descriptor.
Source§impl Hash for AuthenticationType
impl Hash for AuthenticationType
Source§impl PartialEq for AuthenticationType
impl PartialEq for AuthenticationType
impl Copy for AuthenticationType
impl Eq for AuthenticationType
impl StructuralPartialEq for AuthenticationType
Auto Trait Implementations§
impl Freeze for AuthenticationType
impl RefUnwindSafe for AuthenticationType
impl Send for AuthenticationType
impl Sync for AuthenticationType
impl Unpin for AuthenticationType
impl UnwindSafe for AuthenticationType
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