Struct aws_sdk_networkmanager::types::CoreNetwork
source · #[non_exhaustive]pub struct CoreNetwork {
pub global_network_id: Option<String>,
pub core_network_id: Option<String>,
pub core_network_arn: Option<String>,
pub description: Option<String>,
pub created_at: Option<DateTime>,
pub state: Option<CoreNetworkState>,
pub segments: Option<Vec<CoreNetworkSegment>>,
pub edges: Option<Vec<CoreNetworkEdge>>,
pub tags: Option<Vec<Tag>>,
}
Expand description
Describes a core network.
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.global_network_id: Option<String>
The ID of the global network that your core network is a part of.
core_network_id: Option<String>
The ID of a core network.
core_network_arn: Option<String>
The ARN of a core network.
description: Option<String>
The description of a core network.
created_at: Option<DateTime>
The timestamp when a core network was created.
state: Option<CoreNetworkState>
The current state of a core network.
segments: Option<Vec<CoreNetworkSegment>>
The segments within a core network.
edges: Option<Vec<CoreNetworkEdge>>
The edges within a core network.
The list of key-value tags associated with a core network.
Implementations§
source§impl CoreNetwork
impl CoreNetwork
sourcepub fn global_network_id(&self) -> Option<&str>
pub fn global_network_id(&self) -> Option<&str>
The ID of the global network that your core network is a part of.
sourcepub fn core_network_id(&self) -> Option<&str>
pub fn core_network_id(&self) -> Option<&str>
The ID of a core network.
sourcepub fn core_network_arn(&self) -> Option<&str>
pub fn core_network_arn(&self) -> Option<&str>
The ARN of a core network.
sourcepub fn description(&self) -> Option<&str>
pub fn description(&self) -> Option<&str>
The description of a core network.
sourcepub fn created_at(&self) -> Option<&DateTime>
pub fn created_at(&self) -> Option<&DateTime>
The timestamp when a core network was created.
sourcepub fn state(&self) -> Option<&CoreNetworkState>
pub fn state(&self) -> Option<&CoreNetworkState>
The current state of a core network.
sourcepub fn segments(&self) -> &[CoreNetworkSegment]
pub fn segments(&self) -> &[CoreNetworkSegment]
The segments within a core network.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .segments.is_none()
.
sourcepub fn edges(&self) -> &[CoreNetworkEdge]
pub fn edges(&self) -> &[CoreNetworkEdge]
The edges within a core network.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .edges.is_none()
.
The list of key-value tags associated with a core network.
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 CoreNetwork
impl CoreNetwork
sourcepub fn builder() -> CoreNetworkBuilder
pub fn builder() -> CoreNetworkBuilder
Creates a new builder-style object to manufacture CoreNetwork
.
Trait Implementations§
source§impl Clone for CoreNetwork
impl Clone for CoreNetwork
source§fn clone(&self) -> CoreNetwork
fn clone(&self) -> CoreNetwork
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for CoreNetwork
impl Debug for CoreNetwork
source§impl PartialEq for CoreNetwork
impl PartialEq for CoreNetwork
source§fn eq(&self, other: &CoreNetwork) -> bool
fn eq(&self, other: &CoreNetwork) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for CoreNetwork
Auto Trait Implementations§
impl Freeze for CoreNetwork
impl RefUnwindSafe for CoreNetwork
impl Send for CoreNetwork
impl Sync for CoreNetwork
impl Unpin for CoreNetwork
impl UnwindSafe for CoreNetwork
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