pub struct VlanAttachment {
pub id: Option<String>,
pub interconnect_attachment: Option<String>,
pub pairing_key: Option<String>,
pub peer_ip: Option<String>,
pub peer_vlan_id: Option<i64>,
pub qos_policy: Option<QosPolicy>,
pub router_ip: Option<String>,
}Expand description
VLAN attachment details.
This type is not used in any activity, and only used as part of another schema.
Fields§
§id: Option<String>Immutable. The identifier of the attachment within vrf.
interconnect_attachment: Option<String>Optional. The name of the vlan attachment within vrf. This is of the form projects/{project_number}/regions/{region}/interconnectAttachments/{interconnect_attachment}
pairing_key: Option<String>Input only. Pairing key.
peer_ip: Option<String>The peer IP of the attachment.
peer_vlan_id: Option<i64>The peer vlan ID of the attachment.
qos_policy: Option<QosPolicy>The QOS policy applied to this VLAN attachment. This value should be preferred to using qos at vrf level.
router_ip: Option<String>The router IP of the attachment.
Trait Implementations§
Source§impl Clone for VlanAttachment
impl Clone for VlanAttachment
Source§fn clone(&self) -> VlanAttachment
fn clone(&self) -> VlanAttachment
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 Debug for VlanAttachment
impl Debug for VlanAttachment
Source§impl Default for VlanAttachment
impl Default for VlanAttachment
Source§fn default() -> VlanAttachment
fn default() -> VlanAttachment
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for VlanAttachment
impl<'de> Deserialize<'de> for VlanAttachment
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Serialize for VlanAttachment
impl Serialize for VlanAttachment
impl Part for VlanAttachment
Auto Trait Implementations§
impl Freeze for VlanAttachment
impl RefUnwindSafe for VlanAttachment
impl Send for VlanAttachment
impl Sync for VlanAttachment
impl Unpin for VlanAttachment
impl UnwindSafe for VlanAttachment
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