Struct scratchstack_aws_signature::KRegionKey
source · [−]pub struct KRegionKey { /* private fields */ }
Expand description
The kRegion
key: an AWS kDate
key, HMAC-SHA256 hashed with the region.
Implementations
sourceimpl KRegionKey
impl KRegionKey
sourcepub fn to_kservice(&self, service: &str) -> KServiceKey
pub fn to_kservice(&self, service: &str) -> KServiceKey
Create a new KServiceKey
from this KRegionKey
and a service.
sourcepub fn to_ksigning(&self, service: &str) -> KSigningKey
pub fn to_ksigning(&self, service: &str) -> KSigningKey
Create a new KSigningKey
from this KRegionKey
and a service.
Trait Implementations
sourceimpl AsRef<[u8; 32]> for KRegionKey
impl AsRef<[u8; 32]> for KRegionKey
sourceimpl Clone for KRegionKey
impl Clone for KRegionKey
sourcefn clone(&self) -> KRegionKey
fn clone(&self) -> KRegionKey
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl Debug for KRegionKey
impl Debug for KRegionKey
sourceimpl Display for KRegionKey
impl Display for KRegionKey
sourceimpl PartialEq<KRegionKey> for KRegionKey
impl PartialEq<KRegionKey> for KRegionKey
sourcefn eq(&self, other: &KRegionKey) -> bool
fn eq(&self, other: &KRegionKey) -> bool
impl Copy for KRegionKey
impl Eq for KRegionKey
impl StructuralEq for KRegionKey
impl StructuralPartialEq for KRegionKey
Auto Trait Implementations
impl RefUnwindSafe for KRegionKey
impl Send for KRegionKey
impl Sync for KRegionKey
impl Unpin for KRegionKey
impl UnwindSafe for KRegionKey
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more