#[non_exhaustive]pub struct InterconnectGroupConfiguredTopologyCapability {
pub intended_capability_blockers: Vec<InterconnectGroupConfiguredTopologyCapabilityIntendedCapabilityBlockers>,
pub supported_sla: Option<SupportedSla>,
/* private fields */
}Available on crate feature
interconnect-groups only.Expand description
[Output Only] How reliable this topology is configured to be, and why this group does or does not meet the requirements for the intended capability.
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.intended_capability_blockers: Vec<InterconnectGroupConfiguredTopologyCapabilityIntendedCapabilityBlockers>§supported_sla: Option<SupportedSla>Implementations§
Source§impl InterconnectGroupConfiguredTopologyCapability
impl InterconnectGroupConfiguredTopologyCapability
pub fn new() -> Self
Sourcepub fn set_intended_capability_blockers<T, V>(self, v: T) -> Selfwhere
T: IntoIterator<Item = V>,
V: Into<InterconnectGroupConfiguredTopologyCapabilityIntendedCapabilityBlockers>,
pub fn set_intended_capability_blockers<T, V>(self, v: T) -> Selfwhere
T: IntoIterator<Item = V>,
V: Into<InterconnectGroupConfiguredTopologyCapabilityIntendedCapabilityBlockers>,
Sets the value of intended_capability_blockers.
§Example
ⓘ
use google_cloud_compute_v1::model::InterconnectGroupConfiguredTopologyCapabilityIntendedCapabilityBlockers;
let x = InterconnectGroupConfiguredTopologyCapability::new()
.set_intended_capability_blockers([
InterconnectGroupConfiguredTopologyCapabilityIntendedCapabilityBlockers::default()/* use setters */,
InterconnectGroupConfiguredTopologyCapabilityIntendedCapabilityBlockers::default()/* use (different) setters */,
]);Sourcepub fn set_supported_sla<T>(self, v: T) -> Selfwhere
T: Into<SupportedSla>,
pub fn set_supported_sla<T>(self, v: T) -> Selfwhere
T: Into<SupportedSla>,
Sets the value of supported_sla.
§Example
ⓘ
use google_cloud_compute_v1::model::interconnect_group_configured_topology_capability::SupportedSla;
let x0 = InterconnectGroupConfiguredTopologyCapability::new().set_supported_sla(SupportedSla::ProductionCritical);
let x1 = InterconnectGroupConfiguredTopologyCapability::new().set_supported_sla(SupportedSla::ProductionNonCritical);
let x2 = InterconnectGroupConfiguredTopologyCapability::new().set_supported_sla(SupportedSla::Unspecified);Sourcepub fn set_or_clear_supported_sla<T>(self, v: Option<T>) -> Selfwhere
T: Into<SupportedSla>,
pub fn set_or_clear_supported_sla<T>(self, v: Option<T>) -> Selfwhere
T: Into<SupportedSla>,
Sets or clears the value of supported_sla.
§Example
ⓘ
use google_cloud_compute_v1::model::interconnect_group_configured_topology_capability::SupportedSla;
let x0 = InterconnectGroupConfiguredTopologyCapability::new().set_or_clear_supported_sla(Some(SupportedSla::ProductionCritical));
let x1 = InterconnectGroupConfiguredTopologyCapability::new().set_or_clear_supported_sla(Some(SupportedSla::ProductionNonCritical));
let x2 = InterconnectGroupConfiguredTopologyCapability::new().set_or_clear_supported_sla(Some(SupportedSla::Unspecified));
let x_none = InterconnectGroupConfiguredTopologyCapability::new().set_or_clear_supported_sla(None::<SupportedSla>);Trait Implementations§
Source§impl Clone for InterconnectGroupConfiguredTopologyCapability
impl Clone for InterconnectGroupConfiguredTopologyCapability
Source§fn clone(&self) -> InterconnectGroupConfiguredTopologyCapability
fn clone(&self) -> InterconnectGroupConfiguredTopologyCapability
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 InterconnectGroupConfiguredTopologyCapability
impl Default for InterconnectGroupConfiguredTopologyCapability
Source§fn default() -> InterconnectGroupConfiguredTopologyCapability
fn default() -> InterconnectGroupConfiguredTopologyCapability
Returns the “default value” for a type. Read more
Source§impl PartialEq for InterconnectGroupConfiguredTopologyCapability
impl PartialEq for InterconnectGroupConfiguredTopologyCapability
Source§fn eq(&self, other: &InterconnectGroupConfiguredTopologyCapability) -> bool
fn eq(&self, other: &InterconnectGroupConfiguredTopologyCapability) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for InterconnectGroupConfiguredTopologyCapability
Auto Trait Implementations§
impl Freeze for InterconnectGroupConfiguredTopologyCapability
impl RefUnwindSafe for InterconnectGroupConfiguredTopologyCapability
impl Send for InterconnectGroupConfiguredTopologyCapability
impl Sync for InterconnectGroupConfiguredTopologyCapability
impl Unpin for InterconnectGroupConfiguredTopologyCapability
impl UnwindSafe for InterconnectGroupConfiguredTopologyCapability
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