Struct aws_sdk_networkmanager::types::Peering
source · #[non_exhaustive]pub struct Peering {
pub core_network_id: Option<String>,
pub core_network_arn: Option<String>,
pub peering_id: Option<String>,
pub owner_account_id: Option<String>,
pub peering_type: Option<PeeringType>,
pub state: Option<PeeringState>,
pub edge_location: Option<String>,
pub resource_arn: Option<String>,
pub tags: Option<Vec<Tag>>,
pub created_at: Option<DateTime>,
}
Expand description
Describes a peering connection.
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.core_network_id: Option<String>
The ID of the core network for the peering request.
core_network_arn: Option<String>
The ARN of a core network.
peering_id: Option<String>
The ID of the peering attachment.
owner_account_id: Option<String>
The ID of the account owner.
peering_type: Option<PeeringType>
The type of peering. This will be TRANSIT_GATEWAY
.
state: Option<PeeringState>
The current state of the peering connection.
edge_location: Option<String>
The edge location for the peer.
resource_arn: Option<String>
The resource ARN of the peer.
The list of key-value tags associated with the peering.
created_at: Option<DateTime>
The timestamp when the attachment peer was created.
Implementations§
source§impl Peering
impl Peering
sourcepub fn core_network_id(&self) -> Option<&str>
pub fn core_network_id(&self) -> Option<&str>
The ID of the core network for the peering request.
sourcepub fn core_network_arn(&self) -> Option<&str>
pub fn core_network_arn(&self) -> Option<&str>
The ARN of a core network.
sourcepub fn peering_id(&self) -> Option<&str>
pub fn peering_id(&self) -> Option<&str>
The ID of the peering attachment.
sourcepub fn owner_account_id(&self) -> Option<&str>
pub fn owner_account_id(&self) -> Option<&str>
The ID of the account owner.
sourcepub fn peering_type(&self) -> Option<&PeeringType>
pub fn peering_type(&self) -> Option<&PeeringType>
The type of peering. This will be TRANSIT_GATEWAY
.
sourcepub fn state(&self) -> Option<&PeeringState>
pub fn state(&self) -> Option<&PeeringState>
The current state of the peering connection.
sourcepub fn edge_location(&self) -> Option<&str>
pub fn edge_location(&self) -> Option<&str>
The edge location for the peer.
sourcepub fn resource_arn(&self) -> Option<&str>
pub fn resource_arn(&self) -> Option<&str>
The resource ARN of the peer.
The list of key-value tags associated with the peering.
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()
.
sourcepub fn created_at(&self) -> Option<&DateTime>
pub fn created_at(&self) -> Option<&DateTime>
The timestamp when the attachment peer was created.
Trait Implementations§
source§impl PartialEq for Peering
impl PartialEq for Peering
impl StructuralPartialEq for Peering
Auto Trait Implementations§
impl Freeze for Peering
impl RefUnwindSafe for Peering
impl Send for Peering
impl Sync for Peering
impl Unpin for Peering
impl UnwindSafe for Peering
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