Struct aws_sdk_networkmanager::types::Site
source · #[non_exhaustive]pub struct Site {
pub site_id: Option<String>,
pub site_arn: Option<String>,
pub global_network_id: Option<String>,
pub description: Option<String>,
pub location: Option<Location>,
pub created_at: Option<DateTime>,
pub state: Option<SiteState>,
pub tags: Option<Vec<Tag>>,
}
Expand description
Describes a site.
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.site_id: Option<String>
The ID of the site.
site_arn: Option<String>
The Amazon Resource Name (ARN) of the site.
global_network_id: Option<String>
The ID of the global network.
description: Option<String>
The description of the site.
location: Option<Location>
The location of the site.
created_at: Option<DateTime>
The date and time that the site was created.
state: Option<SiteState>
The state of the site.
The tags for the site.
Implementations§
source§impl Site
impl Site
sourcepub fn global_network_id(&self) -> Option<&str>
pub fn global_network_id(&self) -> Option<&str>
The ID of the global network.
sourcepub fn description(&self) -> Option<&str>
pub fn description(&self) -> Option<&str>
The description of the site.
sourcepub fn created_at(&self) -> Option<&DateTime>
pub fn created_at(&self) -> Option<&DateTime>
The date and time that the site was created.
The tags for the site.
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()
.
Trait Implementations§
source§impl PartialEq for Site
impl PartialEq for Site
impl StructuralPartialEq for Site
Auto Trait Implementations§
impl Freeze for Site
impl RefUnwindSafe for Site
impl Send for Site
impl Sync for Site
impl Unpin for Site
impl UnwindSafe for Site
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>
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>
Converts
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>
Converts
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 moreCreates a shared type from an unshared type.