#[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 ==
.