#[non_exhaustive]pub struct InterconnectAttachmentPrivateInfo {
pub tag8021q: Option<u32>,
/* private fields */
}Available on crate feature
interconnect-attachments only.Expand description
Information for an interconnect attachment when this belongs to an interconnect of type DEDICATED.
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.tag8021q: Option<u32>[Output Only] 802.1q encapsulation tag to be used for traffic between Google and the customer, going to and from this network and region.
Implementations§
Source§impl InterconnectAttachmentPrivateInfo
impl InterconnectAttachmentPrivateInfo
pub fn new() -> Self
Sourcepub fn set_tag8021q<T>(self, v: T) -> Self
pub fn set_tag8021q<T>(self, v: T) -> Self
Sourcepub fn set_or_clear_tag8021q<T>(self, v: Option<T>) -> Self
pub fn set_or_clear_tag8021q<T>(self, v: Option<T>) -> Self
Trait Implementations§
Source§impl Clone for InterconnectAttachmentPrivateInfo
impl Clone for InterconnectAttachmentPrivateInfo
Source§fn clone(&self) -> InterconnectAttachmentPrivateInfo
fn clone(&self) -> InterconnectAttachmentPrivateInfo
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 InterconnectAttachmentPrivateInfo
impl Default for InterconnectAttachmentPrivateInfo
Source§fn default() -> InterconnectAttachmentPrivateInfo
fn default() -> InterconnectAttachmentPrivateInfo
Returns the “default value” for a type. Read more
Source§impl PartialEq for InterconnectAttachmentPrivateInfo
impl PartialEq for InterconnectAttachmentPrivateInfo
Source§fn eq(&self, other: &InterconnectAttachmentPrivateInfo) -> bool
fn eq(&self, other: &InterconnectAttachmentPrivateInfo) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for InterconnectAttachmentPrivateInfo
Auto Trait Implementations§
impl Freeze for InterconnectAttachmentPrivateInfo
impl RefUnwindSafe for InterconnectAttachmentPrivateInfo
impl Send for InterconnectAttachmentPrivateInfo
impl Sync for InterconnectAttachmentPrivateInfo
impl Unpin for InterconnectAttachmentPrivateInfo
impl UnwindSafe for InterconnectAttachmentPrivateInfo
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