pub struct SecretAccessKey(/* private fields */);Expand description
Secrect access key.
Implementations§
Source§impl SecretAccessKey
impl SecretAccessKey
Sourcepub fn new(access_key_id: &AccessKeyId) -> Self
pub fn new(access_key_id: &AccessKeyId) -> Self
Creates a new instance for the Access key ID.
Sourcepub fn with_key<H>(access_key_id: &AccessKeyId, key: impl AsRef<[u8]>) -> Self
pub fn with_key<H>(access_key_id: &AccessKeyId, key: impl AsRef<[u8]>) -> Self
Creates a new instance with the specific key.
Trait Implementations§
Source§impl AsRef<[u8]> for SecretAccessKey
impl AsRef<[u8]> for SecretAccessKey
Source§impl Clone for SecretAccessKey
impl Clone for SecretAccessKey
Source§fn clone(&self) -> SecretAccessKey
fn clone(&self) -> SecretAccessKey
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 SecretAccessKey
impl Debug for SecretAccessKey
Source§impl Display for SecretAccessKey
impl Display for SecretAccessKey
Auto Trait Implementations§
impl Freeze for SecretAccessKey
impl RefUnwindSafe for SecretAccessKey
impl Send for SecretAccessKey
impl Sync for SecretAccessKey
impl Unpin for SecretAccessKey
impl UnwindSafe for SecretAccessKey
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<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> PolicyExt for Twhere
T: ?Sized,
impl<T> PolicyExt for Twhere
T: ?Sized,
Source§impl<T> ToStringFallible for Twhere
T: Display,
impl<T> ToStringFallible for Twhere
T: Display,
Source§fn try_to_string(&self) -> Result<String, TryReserveError>
fn try_to_string(&self) -> Result<String, TryReserveError>
ToString::to_string, but without panic on OOM.