pub struct StaticCredentialProvider { /* private fields */ }Expand description
StaticCredentialProvider provides static Aliyun credentials.
This provider is used when you have the access key ID and access key secret directly and want to use them without any dynamic loading.
Implementations§
Trait Implementations§
Source§impl Clone for StaticCredentialProvider
impl Clone for StaticCredentialProvider
Source§fn clone(&self) -> StaticCredentialProvider
fn clone(&self) -> StaticCredentialProvider
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 Debug for StaticCredentialProvider
impl Debug for StaticCredentialProvider
Source§impl ProvideCredential for StaticCredentialProvider
impl ProvideCredential for StaticCredentialProvider
Source§type Credential = Credential
type Credential = Credential
Credential returned by this loader. Read more
Auto Trait Implementations§
impl Freeze for StaticCredentialProvider
impl RefUnwindSafe for StaticCredentialProvider
impl Send for StaticCredentialProvider
impl Sync for StaticCredentialProvider
impl Unpin for StaticCredentialProvider
impl UnwindSafe for StaticCredentialProvider
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