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§
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 copy 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<KRegionKey> for KRegionKey
impl PartialEq<KRegionKey> for KRegionKey
source§fn eq(&self, other: &KRegionKey) -> bool
fn eq(&self, other: &KRegionKey) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.