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