pub enum S3AuthMode {
AutomaticAssumeRole {
role_arn: String,
},
PreviouslyAssumedRole {
aws_key: String,
aws_secret: String,
aws_session_token: String,
},
StaticCredentials {
aws_key: String,
aws_secret: String,
},
}Variants§
Trait Implementations§
Source§impl Clone for S3AuthMode
impl Clone for S3AuthMode
Source§fn clone(&self) -> S3AuthMode
fn clone(&self) -> S3AuthMode
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 S3AuthMode
impl Debug for S3AuthMode
Source§impl<'de> Deserialize<'de> for S3AuthMode
impl<'de> Deserialize<'de> for S3AuthMode
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for S3AuthMode
impl RefUnwindSafe for S3AuthMode
impl Send for S3AuthMode
impl Sync for S3AuthMode
impl Unpin for S3AuthMode
impl UnwindSafe for S3AuthMode
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