Struct aws_config::Region
source · pub struct Region(/* private fields */);
Expand description
The region to send requests to.
The region MUST be specified on a request. It may be configured globally or on a per-client basis unless otherwise noted. A full list of regions is found in the “Regions and Endpoints” document.
See http://docs.aws.amazon.com/general/latest/gr/rande.html for information on AWS regions.
Implementations§
Trait Implementations§
source§impl PartialEq for Region
impl PartialEq for Region
source§impl<'a> ProvideRegion for &'a Region
impl<'a> ProvideRegion for &'a Region
source§fn region(&self) -> ProvideRegion<'_> ⓘ
fn region(&self) -> ProvideRegion<'_> ⓘ
Load a region from this provider
source§impl ProvideRegion for Region
impl ProvideRegion for Region
source§fn region(&self) -> ProvideRegion<'_> ⓘ
fn region(&self) -> ProvideRegion<'_> ⓘ
Load a region from this provider
source§impl Storable for Region
impl Storable for Region
§type Storer = StoreReplace<Region>
type Storer = StoreReplace<Region>
Specify how an item is stored in the config bag, e.g.
StoreReplace
and StoreAppend
impl Eq for Region
impl StructuralPartialEq for Region
Auto Trait Implementations§
impl Freeze for Region
impl RefUnwindSafe for Region
impl Send for Region
impl Sync for Region
impl Unpin for Region
impl UnwindSafe for Region
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<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.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>
Creates a shared type from an unshared type.