#[non_exhaustive]pub struct InterconnectGroupPhysicalStructureMetros {
pub facilities: Vec<InterconnectGroupPhysicalStructureMetrosFacilities>,
pub metro: Option<String>,
/* private fields */
}Available on crate feature
interconnect-groups only.Expand description
[Output Only] The metros Interconnects in this group are in.
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.facilities: Vec<InterconnectGroupPhysicalStructureMetrosFacilities>§metro: Option<String>Output only. [Output Only] The name of the metro, as a three-letter lowercase string like “iad”. This is the first component of the location of Interconnects underneath this.
Implementations§
Source§impl InterconnectGroupPhysicalStructureMetros
impl InterconnectGroupPhysicalStructureMetros
pub fn new() -> Self
Sourcepub fn set_facilities<T, V>(self, v: T) -> Self
pub fn set_facilities<T, V>(self, v: T) -> Self
Sets the value of facilities.
§Example
ⓘ
use google_cloud_compute_v1::model::InterconnectGroupPhysicalStructureMetrosFacilities;
let x = InterconnectGroupPhysicalStructureMetros::new()
.set_facilities([
InterconnectGroupPhysicalStructureMetrosFacilities::default()/* use setters */,
InterconnectGroupPhysicalStructureMetrosFacilities::default()/* use (different) setters */,
]);Sourcepub fn set_or_clear_metro<T>(self, v: Option<T>) -> Self
pub fn set_or_clear_metro<T>(self, v: Option<T>) -> Self
Trait Implementations§
Source§impl Clone for InterconnectGroupPhysicalStructureMetros
impl Clone for InterconnectGroupPhysicalStructureMetros
Source§fn clone(&self) -> InterconnectGroupPhysicalStructureMetros
fn clone(&self) -> InterconnectGroupPhysicalStructureMetros
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Default for InterconnectGroupPhysicalStructureMetros
impl Default for InterconnectGroupPhysicalStructureMetros
Source§fn default() -> InterconnectGroupPhysicalStructureMetros
fn default() -> InterconnectGroupPhysicalStructureMetros
Returns the “default value” for a type. Read more
Source§impl PartialEq for InterconnectGroupPhysicalStructureMetros
impl PartialEq for InterconnectGroupPhysicalStructureMetros
Source§fn eq(&self, other: &InterconnectGroupPhysicalStructureMetros) -> bool
fn eq(&self, other: &InterconnectGroupPhysicalStructureMetros) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for InterconnectGroupPhysicalStructureMetros
Auto Trait Implementations§
impl Freeze for InterconnectGroupPhysicalStructureMetros
impl RefUnwindSafe for InterconnectGroupPhysicalStructureMetros
impl Send for InterconnectGroupPhysicalStructureMetros
impl Sync for InterconnectGroupPhysicalStructureMetros
impl Unpin for InterconnectGroupPhysicalStructureMetros
impl UnwindSafe for InterconnectGroupPhysicalStructureMetros
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