Struct aws_sdk_ec2::types::EgressOnlyInternetGateway
source · #[non_exhaustive]pub struct EgressOnlyInternetGateway {
pub attachments: Option<Vec<InternetGatewayAttachment>>,
pub egress_only_internet_gateway_id: Option<String>,
pub tags: Option<Vec<Tag>>,
}
Expand description
Describes an egress-only internet 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.attachments: Option<Vec<InternetGatewayAttachment>>
Information about the attachment of the egress-only internet gateway.
egress_only_internet_gateway_id: Option<String>
The ID of the egress-only internet gateway.
The tags assigned to the egress-only internet gateway.
Implementations§
source§impl EgressOnlyInternetGateway
impl EgressOnlyInternetGateway
sourcepub fn attachments(&self) -> Option<&[InternetGatewayAttachment]>
pub fn attachments(&self) -> Option<&[InternetGatewayAttachment]>
Information about the attachment of the egress-only internet gateway.
sourcepub fn egress_only_internet_gateway_id(&self) -> Option<&str>
pub fn egress_only_internet_gateway_id(&self) -> Option<&str>
The ID of the egress-only internet gateway.
The tags assigned to the egress-only internet gateway.
source§impl EgressOnlyInternetGateway
impl EgressOnlyInternetGateway
sourcepub fn builder() -> EgressOnlyInternetGatewayBuilder
pub fn builder() -> EgressOnlyInternetGatewayBuilder
Creates a new builder-style object to manufacture EgressOnlyInternetGateway
.
Trait Implementations§
source§impl Clone for EgressOnlyInternetGateway
impl Clone for EgressOnlyInternetGateway
source§fn clone(&self) -> EgressOnlyInternetGateway
fn clone(&self) -> EgressOnlyInternetGateway
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 EgressOnlyInternetGateway
impl Debug for EgressOnlyInternetGateway
source§impl PartialEq<EgressOnlyInternetGateway> for EgressOnlyInternetGateway
impl PartialEq<EgressOnlyInternetGateway> for EgressOnlyInternetGateway
source§fn eq(&self, other: &EgressOnlyInternetGateway) -> bool
fn eq(&self, other: &EgressOnlyInternetGateway) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for EgressOnlyInternetGateway
Auto Trait Implementations§
impl RefUnwindSafe for EgressOnlyInternetGateway
impl Send for EgressOnlyInternetGateway
impl Sync for EgressOnlyInternetGateway
impl Unpin for EgressOnlyInternetGateway
impl UnwindSafe for EgressOnlyInternetGateway
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