#[non_exhaustive]pub struct InterconnectAttachmentL2ForwardingGeneveHeader {
pub vni: Option<u32>,
/* private fields */
}Available on crate feature
interconnect-attachments only.Expand description
GeneveHeader related configurations.
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.vni: Option<u32>Optional. VNI is a 24-bit unique virtual network identifier, from 0 to 16,777,215.
Implementations§
Source§impl InterconnectAttachmentL2ForwardingGeneveHeader
impl InterconnectAttachmentL2ForwardingGeneveHeader
Trait Implementations§
Source§impl Clone for InterconnectAttachmentL2ForwardingGeneveHeader
impl Clone for InterconnectAttachmentL2ForwardingGeneveHeader
Source§fn clone(&self) -> InterconnectAttachmentL2ForwardingGeneveHeader
fn clone(&self) -> InterconnectAttachmentL2ForwardingGeneveHeader
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 InterconnectAttachmentL2ForwardingGeneveHeader
impl Default for InterconnectAttachmentL2ForwardingGeneveHeader
Source§fn default() -> InterconnectAttachmentL2ForwardingGeneveHeader
fn default() -> InterconnectAttachmentL2ForwardingGeneveHeader
Returns the “default value” for a type. Read more
Source§impl PartialEq for InterconnectAttachmentL2ForwardingGeneveHeader
impl PartialEq for InterconnectAttachmentL2ForwardingGeneveHeader
Source§fn eq(&self, other: &InterconnectAttachmentL2ForwardingGeneveHeader) -> bool
fn eq(&self, other: &InterconnectAttachmentL2ForwardingGeneveHeader) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for InterconnectAttachmentL2ForwardingGeneveHeader
Auto Trait Implementations§
impl Freeze for InterconnectAttachmentL2ForwardingGeneveHeader
impl RefUnwindSafe for InterconnectAttachmentL2ForwardingGeneveHeader
impl Send for InterconnectAttachmentL2ForwardingGeneveHeader
impl Sync for InterconnectAttachmentL2ForwardingGeneveHeader
impl Unpin for InterconnectAttachmentL2ForwardingGeneveHeader
impl UnwindSafe for InterconnectAttachmentL2ForwardingGeneveHeader
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