pub struct KRegionKey { /* private fields */ }
Expand description
The kRegion
key: an AWS kDate
key, HMAC-SHA256 hashed with the region.
Implementations§
Source§impl 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§
Source§impl Clone for KRegionKey
impl Clone for KRegionKey
Source§fn clone(&self) -> KRegionKey
fn clone(&self) -> KRegionKey
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 KRegionKey
impl Debug for KRegionKey
Source§impl Display for KRegionKey
impl Display for KRegionKey
Source§impl PartialEq for KRegionKey
impl PartialEq for KRegionKey
impl Copy for KRegionKey
impl Eq for KRegionKey
impl StructuralPartialEq for KRegionKey
Auto Trait Implementations§
impl Freeze for KRegionKey
impl RefUnwindSafe for KRegionKey
impl Send for KRegionKey
impl Sync for KRegionKey
impl Unpin for KRegionKey
impl UnwindSafe for KRegionKey
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