#[non_exhaustive]pub struct InterconnectAttachmentGroupConfigured {
pub availability_sla: Option<InterconnectAttachmentGroupConfiguredAvailabilitySLA>,
/* private fields */
}Available on crate feature
interconnect-attachment-groups only.Expand description
[Output Only] The redundancy this group is configured to support. The way a user queries what SLA their Attachment gets is by looking at this field of the Attachment’s AttachmentGroup.
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.availability_sla: Option<InterconnectAttachmentGroupConfiguredAvailabilitySLA>Implementations§
Source§impl InterconnectAttachmentGroupConfigured
impl InterconnectAttachmentGroupConfigured
pub fn new() -> Self
Sourcepub fn set_availability_sla<T>(self, v: T) -> Self
pub fn set_availability_sla<T>(self, v: T) -> Self
Sets the value of availability_sla.
§Example
ⓘ
use google_cloud_compute_v1::model::InterconnectAttachmentGroupConfiguredAvailabilitySLA;
let x = InterconnectAttachmentGroupConfigured::new().set_availability_sla(InterconnectAttachmentGroupConfiguredAvailabilitySLA::default()/* use setters */);Sourcepub fn set_or_clear_availability_sla<T>(self, v: Option<T>) -> Self
pub fn set_or_clear_availability_sla<T>(self, v: Option<T>) -> Self
Sets or clears the value of availability_sla.
§Example
ⓘ
use google_cloud_compute_v1::model::InterconnectAttachmentGroupConfiguredAvailabilitySLA;
let x = InterconnectAttachmentGroupConfigured::new().set_or_clear_availability_sla(Some(InterconnectAttachmentGroupConfiguredAvailabilitySLA::default()/* use setters */));
let x = InterconnectAttachmentGroupConfigured::new().set_or_clear_availability_sla(None::<InterconnectAttachmentGroupConfiguredAvailabilitySLA>);Trait Implementations§
Source§impl Clone for InterconnectAttachmentGroupConfigured
impl Clone for InterconnectAttachmentGroupConfigured
Source§fn clone(&self) -> InterconnectAttachmentGroupConfigured
fn clone(&self) -> InterconnectAttachmentGroupConfigured
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 InterconnectAttachmentGroupConfigured
impl Default for InterconnectAttachmentGroupConfigured
Source§fn default() -> InterconnectAttachmentGroupConfigured
fn default() -> InterconnectAttachmentGroupConfigured
Returns the “default value” for a type. Read more
Source§impl PartialEq for InterconnectAttachmentGroupConfigured
impl PartialEq for InterconnectAttachmentGroupConfigured
Source§fn eq(&self, other: &InterconnectAttachmentGroupConfigured) -> bool
fn eq(&self, other: &InterconnectAttachmentGroupConfigured) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for InterconnectAttachmentGroupConfigured
Auto Trait Implementations§
impl Freeze for InterconnectAttachmentGroupConfigured
impl RefUnwindSafe for InterconnectAttachmentGroupConfigured
impl Send for InterconnectAttachmentGroupConfigured
impl Sync for InterconnectAttachmentGroupConfigured
impl Unpin for InterconnectAttachmentGroupConfigured
impl UnwindSafe for InterconnectAttachmentGroupConfigured
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