Struct aws_sdk_ec2::types::Region
source · #[non_exhaustive]pub struct Region {
pub endpoint: Option<String>,
pub region_name: Option<String>,
pub opt_in_status: Option<String>,
}
Expand description
Describes a Region.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.endpoint: Option<String>
The Region service endpoint.
region_name: Option<String>
The name of the Region.
opt_in_status: Option<String>
The Region opt-in status. The possible values are opt-in-not-required
, opted-in
, and not-opted-in
.
Implementations§
Trait Implementations§
source§impl PartialEq<Region> for Region
impl PartialEq<Region> for Region
impl StructuralPartialEq for Region
Auto Trait Implementations§
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