#[non_exhaustive]pub struct InterconnectGroupsOperationalStatus {
pub configured: Option<InterconnectGroupConfigured>,
pub group_status: Option<GroupStatus>,
pub intent: Option<InterconnectGroupIntent>,
pub interconnect_statuses: Vec<InterconnectGroupsOperationalStatusInterconnectStatus>,
pub operational: Option<InterconnectGroupConfigured>,
/* private fields */
}Available on crate feature
interconnect-groups only.Expand description
Request to get the status of the interconnect group with extra detail.
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.configured: Option<InterconnectGroupConfigured>Output only. The configuration analysis, as returned by Get.
group_status: Option<GroupStatus>Output only. Summarizes the status of the group.
intent: Option<InterconnectGroupIntent>Output only. The intent of the resource, as returned by Get.
interconnect_statuses: Vec<InterconnectGroupsOperationalStatusInterconnectStatus>§operational: Option<InterconnectGroupConfigured>Output only. The operational state of the group, including only active Interconnects.
Implementations§
Source§impl InterconnectGroupsOperationalStatus
impl InterconnectGroupsOperationalStatus
pub fn new() -> Self
Sourcepub fn set_configured<T>(self, v: T) -> Selfwhere
T: Into<InterconnectGroupConfigured>,
pub fn set_configured<T>(self, v: T) -> Selfwhere
T: Into<InterconnectGroupConfigured>,
Sets the value of configured.
§Example
ⓘ
use google_cloud_compute_v1::model::InterconnectGroupConfigured;
let x = InterconnectGroupsOperationalStatus::new().set_configured(InterconnectGroupConfigured::default()/* use setters */);Sourcepub fn set_or_clear_configured<T>(self, v: Option<T>) -> Selfwhere
T: Into<InterconnectGroupConfigured>,
pub fn set_or_clear_configured<T>(self, v: Option<T>) -> Selfwhere
T: Into<InterconnectGroupConfigured>,
Sets or clears the value of configured.
§Example
ⓘ
use google_cloud_compute_v1::model::InterconnectGroupConfigured;
let x = InterconnectGroupsOperationalStatus::new().set_or_clear_configured(Some(InterconnectGroupConfigured::default()/* use setters */));
let x = InterconnectGroupsOperationalStatus::new().set_or_clear_configured(None::<InterconnectGroupConfigured>);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_groups_operational_status::GroupStatus;
let x0 = InterconnectGroupsOperationalStatus::new().set_group_status(GroupStatus::FullyDown);
let x1 = InterconnectGroupsOperationalStatus::new().set_group_status(GroupStatus::FullyUp);
let x2 = InterconnectGroupsOperationalStatus::new().set_group_status(GroupStatus::GroupsStatusUnspecified);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_groups_operational_status::GroupStatus;
let x0 = InterconnectGroupsOperationalStatus::new().set_or_clear_group_status(Some(GroupStatus::FullyDown));
let x1 = InterconnectGroupsOperationalStatus::new().set_or_clear_group_status(Some(GroupStatus::FullyUp));
let x2 = InterconnectGroupsOperationalStatus::new().set_or_clear_group_status(Some(GroupStatus::GroupsStatusUnspecified));
let x_none = InterconnectGroupsOperationalStatus::new().set_or_clear_group_status(None::<GroupStatus>);Sourcepub fn set_intent<T>(self, v: T) -> Selfwhere
T: Into<InterconnectGroupIntent>,
pub fn set_intent<T>(self, v: T) -> Selfwhere
T: Into<InterconnectGroupIntent>,
Sourcepub fn set_or_clear_intent<T>(self, v: Option<T>) -> Selfwhere
T: Into<InterconnectGroupIntent>,
pub fn set_or_clear_intent<T>(self, v: Option<T>) -> Selfwhere
T: Into<InterconnectGroupIntent>,
Sets or clears the value of intent.
§Example
ⓘ
use google_cloud_compute_v1::model::InterconnectGroupIntent;
let x = InterconnectGroupsOperationalStatus::new().set_or_clear_intent(Some(InterconnectGroupIntent::default()/* use setters */));
let x = InterconnectGroupsOperationalStatus::new().set_or_clear_intent(None::<InterconnectGroupIntent>);Sourcepub fn set_interconnect_statuses<T, V>(self, v: T) -> Self
pub fn set_interconnect_statuses<T, V>(self, v: T) -> Self
Sets the value of interconnect_statuses.
§Example
ⓘ
use google_cloud_compute_v1::model::InterconnectGroupsOperationalStatusInterconnectStatus;
let x = InterconnectGroupsOperationalStatus::new()
.set_interconnect_statuses([
InterconnectGroupsOperationalStatusInterconnectStatus::default()/* use setters */,
InterconnectGroupsOperationalStatusInterconnectStatus::default()/* use (different) setters */,
]);Sourcepub fn set_operational<T>(self, v: T) -> Selfwhere
T: Into<InterconnectGroupConfigured>,
pub fn set_operational<T>(self, v: T) -> Selfwhere
T: Into<InterconnectGroupConfigured>,
Sets the value of operational.
§Example
ⓘ
use google_cloud_compute_v1::model::InterconnectGroupConfigured;
let x = InterconnectGroupsOperationalStatus::new().set_operational(InterconnectGroupConfigured::default()/* use setters */);Sourcepub fn set_or_clear_operational<T>(self, v: Option<T>) -> Selfwhere
T: Into<InterconnectGroupConfigured>,
pub fn set_or_clear_operational<T>(self, v: Option<T>) -> Selfwhere
T: Into<InterconnectGroupConfigured>,
Sets or clears the value of operational.
§Example
ⓘ
use google_cloud_compute_v1::model::InterconnectGroupConfigured;
let x = InterconnectGroupsOperationalStatus::new().set_or_clear_operational(Some(InterconnectGroupConfigured::default()/* use setters */));
let x = InterconnectGroupsOperationalStatus::new().set_or_clear_operational(None::<InterconnectGroupConfigured>);Trait Implementations§
Source§impl Clone for InterconnectGroupsOperationalStatus
impl Clone for InterconnectGroupsOperationalStatus
Source§fn clone(&self) -> InterconnectGroupsOperationalStatus
fn clone(&self) -> InterconnectGroupsOperationalStatus
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 InterconnectGroupsOperationalStatus
impl Default for InterconnectGroupsOperationalStatus
Source§fn default() -> InterconnectGroupsOperationalStatus
fn default() -> InterconnectGroupsOperationalStatus
Returns the “default value” for a type. Read more
Source§impl PartialEq for InterconnectGroupsOperationalStatus
impl PartialEq for InterconnectGroupsOperationalStatus
Source§fn eq(&self, other: &InterconnectGroupsOperationalStatus) -> bool
fn eq(&self, other: &InterconnectGroupsOperationalStatus) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for InterconnectGroupsOperationalStatus
Auto Trait Implementations§
impl Freeze for InterconnectGroupsOperationalStatus
impl RefUnwindSafe for InterconnectGroupsOperationalStatus
impl Send for InterconnectGroupsOperationalStatus
impl Sync for InterconnectGroupsOperationalStatus
impl Unpin for InterconnectGroupsOperationalStatus
impl UnwindSafe for InterconnectGroupsOperationalStatus
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