Struct aws_sdk_directconnect::types::Location
source · #[non_exhaustive]pub struct Location {
pub location_code: Option<String>,
pub location_name: Option<String>,
pub region: Option<String>,
pub available_port_speeds: Option<Vec<String>>,
pub available_providers: Option<Vec<String>>,
pub available_mac_sec_port_speeds: Option<Vec<String>>,
}Expand description
Information about an Direct Connect location.
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.location_code: Option<String>The code for the location.
location_name: Option<String>The name of the location. This includes the name of the colocation partner and the physical site of the building.
region: Option<String>The Amazon Web Services Region for the location.
available_port_speeds: Option<Vec<String>>The available port speeds for the location.
available_providers: Option<Vec<String>>The name of the service provider for the location.
available_mac_sec_port_speeds: Option<Vec<String>>The available MAC Security (MACsec) port speeds for the location.
Implementations§
source§impl Location
impl Location
sourcepub fn location_code(&self) -> Option<&str>
pub fn location_code(&self) -> Option<&str>
The code for the location.
sourcepub fn location_name(&self) -> Option<&str>
pub fn location_name(&self) -> Option<&str>
The name of the location. This includes the name of the colocation partner and the physical site of the building.
sourcepub fn available_port_speeds(&self) -> &[String]
pub fn available_port_speeds(&self) -> &[String]
The available port speeds for the location.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .available_port_speeds.is_none().
sourcepub fn available_providers(&self) -> &[String]
pub fn available_providers(&self) -> &[String]
The name of the service provider for the location.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .available_providers.is_none().
sourcepub fn available_mac_sec_port_speeds(&self) -> &[String]
pub fn available_mac_sec_port_speeds(&self) -> &[String]
The available MAC Security (MACsec) port speeds for the location.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .available_mac_sec_port_speeds.is_none().