pub struct StaticCredentials { /* private fields */ }Expand description
Static credentials provider that holds credentials directly.
Implementations§
Trait Implementations§
Source§impl Clone for StaticCredentials
impl Clone for StaticCredentials
Source§fn clone(&self) -> StaticCredentials
fn clone(&self) -> StaticCredentials
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 CredentialsProvider for StaticCredentials
impl CredentialsProvider for StaticCredentials
Source§fn get_credentials(&self) -> &Credentials
fn get_credentials(&self) -> &Credentials
Get the credentials.
Auto Trait Implementations§
impl Freeze for StaticCredentials
impl RefUnwindSafe for StaticCredentials
impl Send for StaticCredentials
impl Sync for StaticCredentials
impl Unpin for StaticCredentials
impl UnwindSafe for StaticCredentials
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