Struct object_store::aws::AwsCredential
source · pub struct AwsCredential {
pub key_id: String,
pub secret_key: String,
pub token: Option<String>,
}Expand description
A set of AWS security credentials
Fields§
§key_id: StringAWS_ACCESS_KEY_ID
secret_key: StringAWS_SECRET_ACCESS_KEY
token: Option<String>AWS_SESSION_TOKEN
Trait Implementations§
source§impl Debug for AwsCredential
impl Debug for AwsCredential
source§impl PartialEq<AwsCredential> for AwsCredential
impl PartialEq<AwsCredential> for AwsCredential
source§fn eq(&self, other: &AwsCredential) -> bool
fn eq(&self, other: &AwsCredential) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl Eq for AwsCredential
impl StructuralEq for AwsCredential
impl StructuralPartialEq for AwsCredential
Auto Trait Implementations§
impl RefUnwindSafe for AwsCredential
impl Send for AwsCredential
impl Sync for AwsCredential
impl Unpin for AwsCredential
impl UnwindSafe for AwsCredential
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
source§impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.