pub enum ProviderAuth {
ApiKey(&'static str),
Browser(&'static BrowserAuth),
}Expand description
Authentication required by a provider manifest.
Variants§
ApiKey(&'static str)
Browser(&'static BrowserAuth)
Trait Implementations§
Source§impl Clone for ProviderAuth
impl Clone for ProviderAuth
Source§fn clone(&self) -> ProviderAuth
fn clone(&self) -> ProviderAuth
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 ProviderAuth
Auto Trait Implementations§
impl Freeze for ProviderAuth
impl RefUnwindSafe for ProviderAuth
impl Send for ProviderAuth
impl Sync for ProviderAuth
impl Unpin for ProviderAuth
impl UnsafeUnpin for ProviderAuth
impl UnwindSafe for ProviderAuth
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