Struct aws_sdk_ec2::types::TrunkInterfaceAssociation
source · #[non_exhaustive]pub struct TrunkInterfaceAssociation {
pub association_id: Option<String>,
pub branch_interface_id: Option<String>,
pub trunk_interface_id: Option<String>,
pub interface_protocol: Option<InterfaceProtocolType>,
pub vlan_id: Option<i32>,
pub gre_key: Option<i32>,
pub tags: Option<Vec<Tag>>,
}
Expand description
Information about an association between a branch network interface with a trunk network interface.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.association_id: Option<String>
The ID of the association.
branch_interface_id: Option<String>
The ID of the branch network interface.
trunk_interface_id: Option<String>
The ID of the trunk network interface.
interface_protocol: Option<InterfaceProtocolType>
The interface protocol. Valid values are VLAN
and GRE
.
vlan_id: Option<i32>
The ID of the VLAN when you use the VLAN protocol.
gre_key: Option<i32>
The application key when you use the GRE protocol.
The tags for the trunk interface association.
Implementations§
source§impl TrunkInterfaceAssociation
impl TrunkInterfaceAssociation
sourcepub fn association_id(&self) -> Option<&str>
pub fn association_id(&self) -> Option<&str>
The ID of the association.
sourcepub fn branch_interface_id(&self) -> Option<&str>
pub fn branch_interface_id(&self) -> Option<&str>
The ID of the branch network interface.
sourcepub fn trunk_interface_id(&self) -> Option<&str>
pub fn trunk_interface_id(&self) -> Option<&str>
The ID of the trunk network interface.
sourcepub fn interface_protocol(&self) -> Option<&InterfaceProtocolType>
pub fn interface_protocol(&self) -> Option<&InterfaceProtocolType>
The interface protocol. Valid values are VLAN
and GRE
.
The tags for the trunk interface association.
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 TrunkInterfaceAssociation
impl TrunkInterfaceAssociation
sourcepub fn builder() -> TrunkInterfaceAssociationBuilder
pub fn builder() -> TrunkInterfaceAssociationBuilder
Creates a new builder-style object to manufacture TrunkInterfaceAssociation
.
Trait Implementations§
source§impl Clone for TrunkInterfaceAssociation
impl Clone for TrunkInterfaceAssociation
source§fn clone(&self) -> TrunkInterfaceAssociation
fn clone(&self) -> TrunkInterfaceAssociation
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for TrunkInterfaceAssociation
impl Debug for TrunkInterfaceAssociation
source§impl PartialEq for TrunkInterfaceAssociation
impl PartialEq for TrunkInterfaceAssociation
source§fn eq(&self, other: &TrunkInterfaceAssociation) -> bool
fn eq(&self, other: &TrunkInterfaceAssociation) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for TrunkInterfaceAssociation
Auto Trait Implementations§
impl Freeze for TrunkInterfaceAssociation
impl RefUnwindSafe for TrunkInterfaceAssociation
impl Send for TrunkInterfaceAssociation
impl Sync for TrunkInterfaceAssociation
impl Unpin for TrunkInterfaceAssociation
impl UnwindSafe for TrunkInterfaceAssociation
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
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>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more