pub enum ProviderAuthKind {
ApiKey,
DeviceCode,
}Expand description
Frontend-safe provider authentication mechanism.
Variants§
Trait Implementations§
Source§impl Clone for ProviderAuthKind
impl Clone for ProviderAuthKind
Source§fn clone(&self) -> ProviderAuthKind
fn clone(&self) -> ProviderAuthKind
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 moreimpl Copy for ProviderAuthKind
Source§impl Debug for ProviderAuthKind
impl Debug for ProviderAuthKind
Source§impl<'de> Deserialize<'de> for ProviderAuthKind
impl<'de> Deserialize<'de> for ProviderAuthKind
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for ProviderAuthKind
Source§impl PartialEq for ProviderAuthKind
impl PartialEq for ProviderAuthKind
Source§impl Serialize for ProviderAuthKind
impl Serialize for ProviderAuthKind
impl StructuralPartialEq for ProviderAuthKind
Auto Trait Implementations§
impl Freeze for ProviderAuthKind
impl RefUnwindSafe for ProviderAuthKind
impl Send for ProviderAuthKind
impl Sync for ProviderAuthKind
impl Unpin for ProviderAuthKind
impl UnsafeUnpin for ProviderAuthKind
impl UnwindSafe for ProviderAuthKind
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