#[non_exhaustive]pub struct InterconnectGroupPhysicalStructure {
pub metros: Vec<InterconnectGroupPhysicalStructureMetros>,
/* private fields */
}Available on crate feature
interconnect-groups only.Expand description
[Output Only] An analysis of the physical layout of Interconnects in this group. Every Interconnect in the group is shown once in this structure.
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.metros: Vec<InterconnectGroupPhysicalStructureMetros>Implementations§
Source§impl InterconnectGroupPhysicalStructure
impl InterconnectGroupPhysicalStructure
pub fn new() -> Self
Sourcepub fn set_metros<T, V>(self, v: T) -> Self
pub fn set_metros<T, V>(self, v: T) -> Self
Sets the value of metros.
§Example
ⓘ
use google_cloud_compute_v1::model::InterconnectGroupPhysicalStructureMetros;
let x = InterconnectGroupPhysicalStructure::new()
.set_metros([
InterconnectGroupPhysicalStructureMetros::default()/* use setters */,
InterconnectGroupPhysicalStructureMetros::default()/* use (different) setters */,
]);Trait Implementations§
Source§impl Clone for InterconnectGroupPhysicalStructure
impl Clone for InterconnectGroupPhysicalStructure
Source§fn clone(&self) -> InterconnectGroupPhysicalStructure
fn clone(&self) -> InterconnectGroupPhysicalStructure
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 InterconnectGroupPhysicalStructure
impl Default for InterconnectGroupPhysicalStructure
Source§fn default() -> InterconnectGroupPhysicalStructure
fn default() -> InterconnectGroupPhysicalStructure
Returns the “default value” for a type. Read more
Source§impl PartialEq for InterconnectGroupPhysicalStructure
impl PartialEq for InterconnectGroupPhysicalStructure
Source§fn eq(&self, other: &InterconnectGroupPhysicalStructure) -> bool
fn eq(&self, other: &InterconnectGroupPhysicalStructure) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for InterconnectGroupPhysicalStructure
Auto Trait Implementations§
impl Freeze for InterconnectGroupPhysicalStructure
impl RefUnwindSafe for InterconnectGroupPhysicalStructure
impl Send for InterconnectGroupPhysicalStructure
impl Sync for InterconnectGroupPhysicalStructure
impl Unpin for InterconnectGroupPhysicalStructure
impl UnwindSafe for InterconnectGroupPhysicalStructure
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