pub enum ProviderCredential {
ApiKey(String),
Browser(Arc<dyn Any + Send + Sync>),
Credentialless,
}Expand description
Resolved credential passed to one provider constructor.
Variants§
Implementations§
Trait Implementations§
Source§impl Clone for ProviderCredential
impl Clone for ProviderCredential
Source§fn clone(&self) -> ProviderCredential
fn clone(&self) -> ProviderCredential
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 moreAuto Trait Implementations§
impl !RefUnwindSafe for ProviderCredential
impl !UnwindSafe for ProviderCredential
impl Freeze for ProviderCredential
impl Send for ProviderCredential
impl Sync for ProviderCredential
impl Unpin for ProviderCredential
impl UnsafeUnpin for ProviderCredential
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