#[non_exhaustive]pub struct InterconnectAttachmentGroupsOperationalStatus {
pub attachment_statuses: Vec<InterconnectAttachmentGroupsOperationalStatusAttachmentStatus>,
pub configured: Option<InterconnectAttachmentGroupConfigured>,
pub group_status: Option<GroupStatus>,
pub intent: Option<InterconnectAttachmentGroupIntent>,
pub operational: Option<InterconnectAttachmentGroupConfigured>,
/* private fields */
}Available on crate feature
interconnect-attachment-groups only.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.attachment_statuses: Vec<InterconnectAttachmentGroupsOperationalStatusAttachmentStatus>§configured: Option<InterconnectAttachmentGroupConfigured>§group_status: Option<GroupStatus>Output only. Summarizes the status of the group.
intent: Option<InterconnectAttachmentGroupIntent>§operational: Option<InterconnectAttachmentGroupConfigured>Output only. The operational state of the group, including only active Attachments.
Implementations§
Source§impl InterconnectAttachmentGroupsOperationalStatus
impl InterconnectAttachmentGroupsOperationalStatus
pub fn new() -> Self
Sourcepub fn set_attachment_statuses<T, V>(self, v: T) -> Selfwhere
T: IntoIterator<Item = V>,
V: Into<InterconnectAttachmentGroupsOperationalStatusAttachmentStatus>,
pub fn set_attachment_statuses<T, V>(self, v: T) -> Selfwhere
T: IntoIterator<Item = V>,
V: Into<InterconnectAttachmentGroupsOperationalStatusAttachmentStatus>,
Sets the value of attachment_statuses.
§Example
ⓘ
use google_cloud_compute_v1::model::InterconnectAttachmentGroupsOperationalStatusAttachmentStatus;
let x = InterconnectAttachmentGroupsOperationalStatus::new()
.set_attachment_statuses([
InterconnectAttachmentGroupsOperationalStatusAttachmentStatus::default()/* use setters */,
InterconnectAttachmentGroupsOperationalStatusAttachmentStatus::default()/* use (different) setters */,
]);Sourcepub fn set_configured<T>(self, v: T) -> Selfwhere
T: Into<InterconnectAttachmentGroupConfigured>,
pub fn set_configured<T>(self, v: T) -> Selfwhere
T: Into<InterconnectAttachmentGroupConfigured>,
Sets the value of configured.
§Example
ⓘ
use google_cloud_compute_v1::model::InterconnectAttachmentGroupConfigured;
let x = InterconnectAttachmentGroupsOperationalStatus::new().set_configured(InterconnectAttachmentGroupConfigured::default()/* use setters */);Sourcepub fn set_or_clear_configured<T>(self, v: Option<T>) -> Selfwhere
T: Into<InterconnectAttachmentGroupConfigured>,
pub fn set_or_clear_configured<T>(self, v: Option<T>) -> Selfwhere
T: Into<InterconnectAttachmentGroupConfigured>,
Sets or clears the value of configured.
§Example
ⓘ
use google_cloud_compute_v1::model::InterconnectAttachmentGroupConfigured;
let x = InterconnectAttachmentGroupsOperationalStatus::new().set_or_clear_configured(Some(InterconnectAttachmentGroupConfigured::default()/* use setters */));
let x = InterconnectAttachmentGroupsOperationalStatus::new().set_or_clear_configured(None::<InterconnectAttachmentGroupConfigured>);Sourcepub fn set_group_status<T>(self, v: T) -> Selfwhere
T: Into<GroupStatus>,
pub fn set_group_status<T>(self, v: T) -> Selfwhere
T: Into<GroupStatus>,
Sets the value of group_status.
§Example
ⓘ
use google_cloud_compute_v1::model::interconnect_attachment_groups_operational_status::GroupStatus;
let x0 = InterconnectAttachmentGroupsOperationalStatus::new().set_group_status(GroupStatus::FullyDown);
let x1 = InterconnectAttachmentGroupsOperationalStatus::new().set_group_status(GroupStatus::FullyUp);
let x2 = InterconnectAttachmentGroupsOperationalStatus::new().set_group_status(GroupStatus::Unspecified);Sourcepub fn set_or_clear_group_status<T>(self, v: Option<T>) -> Selfwhere
T: Into<GroupStatus>,
pub fn set_or_clear_group_status<T>(self, v: Option<T>) -> Selfwhere
T: Into<GroupStatus>,
Sets or clears the value of group_status.
§Example
ⓘ
use google_cloud_compute_v1::model::interconnect_attachment_groups_operational_status::GroupStatus;
let x0 = InterconnectAttachmentGroupsOperationalStatus::new().set_or_clear_group_status(Some(GroupStatus::FullyDown));
let x1 = InterconnectAttachmentGroupsOperationalStatus::new().set_or_clear_group_status(Some(GroupStatus::FullyUp));
let x2 = InterconnectAttachmentGroupsOperationalStatus::new().set_or_clear_group_status(Some(GroupStatus::Unspecified));
let x_none = InterconnectAttachmentGroupsOperationalStatus::new().set_or_clear_group_status(None::<GroupStatus>);Sourcepub fn set_intent<T>(self, v: T) -> Selfwhere
T: Into<InterconnectAttachmentGroupIntent>,
pub fn set_intent<T>(self, v: T) -> Selfwhere
T: Into<InterconnectAttachmentGroupIntent>,
Sourcepub fn set_or_clear_intent<T>(self, v: Option<T>) -> Selfwhere
T: Into<InterconnectAttachmentGroupIntent>,
pub fn set_or_clear_intent<T>(self, v: Option<T>) -> Selfwhere
T: Into<InterconnectAttachmentGroupIntent>,
Sets or clears the value of intent.
§Example
ⓘ
use google_cloud_compute_v1::model::InterconnectAttachmentGroupIntent;
let x = InterconnectAttachmentGroupsOperationalStatus::new().set_or_clear_intent(Some(InterconnectAttachmentGroupIntent::default()/* use setters */));
let x = InterconnectAttachmentGroupsOperationalStatus::new().set_or_clear_intent(None::<InterconnectAttachmentGroupIntent>);Sourcepub fn set_operational<T>(self, v: T) -> Selfwhere
T: Into<InterconnectAttachmentGroupConfigured>,
pub fn set_operational<T>(self, v: T) -> Selfwhere
T: Into<InterconnectAttachmentGroupConfigured>,
Sets the value of operational.
§Example
ⓘ
use google_cloud_compute_v1::model::InterconnectAttachmentGroupConfigured;
let x = InterconnectAttachmentGroupsOperationalStatus::new().set_operational(InterconnectAttachmentGroupConfigured::default()/* use setters */);Sourcepub fn set_or_clear_operational<T>(self, v: Option<T>) -> Selfwhere
T: Into<InterconnectAttachmentGroupConfigured>,
pub fn set_or_clear_operational<T>(self, v: Option<T>) -> Selfwhere
T: Into<InterconnectAttachmentGroupConfigured>,
Sets or clears the value of operational.
§Example
ⓘ
use google_cloud_compute_v1::model::InterconnectAttachmentGroupConfigured;
let x = InterconnectAttachmentGroupsOperationalStatus::new().set_or_clear_operational(Some(InterconnectAttachmentGroupConfigured::default()/* use setters */));
let x = InterconnectAttachmentGroupsOperationalStatus::new().set_or_clear_operational(None::<InterconnectAttachmentGroupConfigured>);Trait Implementations§
Source§impl Clone for InterconnectAttachmentGroupsOperationalStatus
impl Clone for InterconnectAttachmentGroupsOperationalStatus
Source§fn clone(&self) -> InterconnectAttachmentGroupsOperationalStatus
fn clone(&self) -> InterconnectAttachmentGroupsOperationalStatus
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 InterconnectAttachmentGroupsOperationalStatus
impl Default for InterconnectAttachmentGroupsOperationalStatus
Source§fn default() -> InterconnectAttachmentGroupsOperationalStatus
fn default() -> InterconnectAttachmentGroupsOperationalStatus
Returns the “default value” for a type. Read more
Source§impl PartialEq for InterconnectAttachmentGroupsOperationalStatus
impl PartialEq for InterconnectAttachmentGroupsOperationalStatus
Source§fn eq(&self, other: &InterconnectAttachmentGroupsOperationalStatus) -> bool
fn eq(&self, other: &InterconnectAttachmentGroupsOperationalStatus) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for InterconnectAttachmentGroupsOperationalStatus
Auto Trait Implementations§
impl Freeze for InterconnectAttachmentGroupsOperationalStatus
impl RefUnwindSafe for InterconnectAttachmentGroupsOperationalStatus
impl Send for InterconnectAttachmentGroupsOperationalStatus
impl Sync for InterconnectAttachmentGroupsOperationalStatus
impl Unpin for InterconnectAttachmentGroupsOperationalStatus
impl UnwindSafe for InterconnectAttachmentGroupsOperationalStatus
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