pub struct KDateKey { /* private fields */ }
Expand description
The kDate
key: HMAC_SHA256("AWS4" + KSecretKey, "YYYYMMDD")
Implementations§
Source§impl KDateKey
impl KDateKey
Sourcepub fn to_kregion(&self, region: &str) -> KRegionKey
pub fn to_kregion(&self, region: &str) -> KRegionKey
Create a new KRegionKey
from this KDateKey
and a region.
Sourcepub fn to_kservice(&self, region: &str, service: &str) -> KServiceKey
pub fn to_kservice(&self, region: &str, service: &str) -> KServiceKey
Create a new KServiceKey
from this KDateKey
, a region, and a service.
Sourcepub fn to_ksigning(&self, region: &str, service: &str) -> KSigningKey
pub fn to_ksigning(&self, region: &str, service: &str) -> KSigningKey
Create a new KSigningKey
from this KDateKey
, a region, and a service.
Trait Implementations§
impl Copy for KDateKey
impl Eq for KDateKey
impl StructuralPartialEq for KDateKey
Auto Trait Implementations§
impl Freeze for KDateKey
impl RefUnwindSafe for KDateKey
impl Send for KDateKey
impl Sync for KDateKey
impl Unpin for KDateKey
impl UnwindSafe for KDateKey
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