pub struct SourceCredentialsRequest {
pub access_key: String,
pub secret_key: Zeroizing<String>,
pub session_token: Option<Zeroizing<String>>,
}Expand description
Static credentials for the source, with the secret in zeroizing storage.
Debug never prints the secret or the session token.
Fields§
§access_key: String§secret_key: Zeroizing<String>§session_token: Option<Zeroizing<String>>Trait Implementations§
Source§impl Clone for SourceCredentialsRequest
impl Clone for SourceCredentialsRequest
Source§fn clone(&self) -> SourceCredentialsRequest
fn clone(&self) -> SourceCredentialsRequest
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 moreSource§impl Debug for SourceCredentialsRequest
impl Debug for SourceCredentialsRequest
Auto Trait Implementations§
impl Freeze for SourceCredentialsRequest
impl RefUnwindSafe for SourceCredentialsRequest
impl Send for SourceCredentialsRequest
impl Sync for SourceCredentialsRequest
impl Unpin for SourceCredentialsRequest
impl UnsafeUnpin for SourceCredentialsRequest
impl UnwindSafe for SourceCredentialsRequest
Blanket Implementations§
Source§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
Source§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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