Struct aws_sdk_ec2::types::CarrierGateway
source · #[non_exhaustive]pub struct CarrierGateway {
pub carrier_gateway_id: Option<String>,
pub vpc_id: Option<String>,
pub state: Option<CarrierGatewayState>,
pub owner_id: Option<String>,
pub tags: Option<Vec<Tag>>,
}
Expand description
Describes a carrier gateway.
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.carrier_gateway_id: Option<String>
The ID of the carrier gateway.
vpc_id: Option<String>
The ID of the VPC associated with the carrier gateway.
state: Option<CarrierGatewayState>
The state of the carrier gateway.
owner_id: Option<String>
The Amazon Web Services account ID of the owner of the carrier gateway.
The tags assigned to the carrier gateway.
Implementations§
source§impl CarrierGateway
impl CarrierGateway
sourcepub fn carrier_gateway_id(&self) -> Option<&str>
pub fn carrier_gateway_id(&self) -> Option<&str>
The ID of the carrier gateway.
sourcepub fn state(&self) -> Option<&CarrierGatewayState>
pub fn state(&self) -> Option<&CarrierGatewayState>
The state of the carrier gateway.
sourcepub fn owner_id(&self) -> Option<&str>
pub fn owner_id(&self) -> Option<&str>
The Amazon Web Services account ID of the owner of the carrier gateway.
The tags assigned to the carrier gateway.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .tags.is_none()
.
source§impl CarrierGateway
impl CarrierGateway
sourcepub fn builder() -> CarrierGatewayBuilder
pub fn builder() -> CarrierGatewayBuilder
Creates a new builder-style object to manufacture CarrierGateway
.
Trait Implementations§
source§impl Clone for CarrierGateway
impl Clone for CarrierGateway
source§fn clone(&self) -> CarrierGateway
fn clone(&self) -> CarrierGateway
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 CarrierGateway
impl Debug for CarrierGateway
source§impl PartialEq for CarrierGateway
impl PartialEq for CarrierGateway
source§fn eq(&self, other: &CarrierGateway) -> bool
fn eq(&self, other: &CarrierGateway) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for CarrierGateway
Auto Trait Implementations§
impl Freeze for CarrierGateway
impl RefUnwindSafe for CarrierGateway
impl Send for CarrierGateway
impl Sync for CarrierGateway
impl Unpin for CarrierGateway
impl UnwindSafe for CarrierGateway
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<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.