#[non_exhaustive]pub struct CreateSiteInput {
pub global_network_id: Option<String>,
pub description: Option<String>,
pub location: Option<Location>,
pub tags: Option<Vec<Tag>>,
}
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.
description: Option<String>
A description of your site.
Constraints: Maximum length of 256 characters.
location: Option<Location>
The site location. This information is used for visualization in the Network Manager console. If you specify the address, the latitude and longitude are automatically calculated.
-
Address
: The physical address of the site. -
Latitude
: The latitude of the site. -
Longitude
: The longitude of the site.
The tags to apply to the resource during creation.
Implementations§
source§impl CreateSiteInput
impl CreateSiteInput
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>
A description of your site.
Constraints: Maximum length of 256 characters.
sourcepub fn location(&self) -> Option<&Location>
pub fn location(&self) -> Option<&Location>
The site location. This information is used for visualization in the Network Manager console. If you specify the address, the latitude and longitude are automatically calculated.
-
Address
: The physical address of the site. -
Latitude
: The latitude of the site. -
Longitude
: The longitude of the site.
The tags to apply to the resource during creation.
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 CreateSiteInput
impl CreateSiteInput
sourcepub fn builder() -> CreateSiteInputBuilder
pub fn builder() -> CreateSiteInputBuilder
Creates a new builder-style object to manufacture CreateSiteInput
.
Trait Implementations§
source§impl Clone for CreateSiteInput
impl Clone for CreateSiteInput
source§fn clone(&self) -> CreateSiteInput
fn clone(&self) -> CreateSiteInput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for CreateSiteInput
impl Debug for CreateSiteInput
source§impl PartialEq for CreateSiteInput
impl PartialEq for CreateSiteInput
source§fn eq(&self, other: &CreateSiteInput) -> bool
fn eq(&self, other: &CreateSiteInput) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for CreateSiteInput
Auto Trait Implementations§
impl Freeze for CreateSiteInput
impl RefUnwindSafe for CreateSiteInput
impl Send for CreateSiteInput
impl Sync for CreateSiteInput
impl Unpin for CreateSiteInput
impl UnwindSafe for CreateSiteInput
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