pub struct PatchedVlanTranslationRuleRequest {
pub policy: Option<i32>,
pub local_vid: Option<i32>,
pub remote_vid: Option<i32>,
pub description: Option<String>,
}Expand description
PatchedVlanTranslationRuleRequest : Adds support for custom fields and tags.
Fields§
§policy: Option<i32>§local_vid: Option<i32>Numeric VLAN ID (1-4094)
remote_vid: Option<i32>Numeric VLAN ID (1-4094)
description: Option<String>Implementations§
Source§impl PatchedVlanTranslationRuleRequest
impl PatchedVlanTranslationRuleRequest
Sourcepub fn new() -> PatchedVlanTranslationRuleRequest
pub fn new() -> PatchedVlanTranslationRuleRequest
Adds support for custom fields and tags.
Trait Implementations§
Source§impl Clone for PatchedVlanTranslationRuleRequest
impl Clone for PatchedVlanTranslationRuleRequest
Source§fn clone(&self) -> PatchedVlanTranslationRuleRequest
fn clone(&self) -> PatchedVlanTranslationRuleRequest
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 PatchedVlanTranslationRuleRequest
impl Default for PatchedVlanTranslationRuleRequest
Source§fn default() -> PatchedVlanTranslationRuleRequest
fn default() -> PatchedVlanTranslationRuleRequest
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for PatchedVlanTranslationRuleRequest
impl<'de> Deserialize<'de> for PatchedVlanTranslationRuleRequest
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 PartialEq for PatchedVlanTranslationRuleRequest
impl PartialEq for PatchedVlanTranslationRuleRequest
Source§fn eq(&self, other: &PatchedVlanTranslationRuleRequest) -> bool
fn eq(&self, other: &PatchedVlanTranslationRuleRequest) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for PatchedVlanTranslationRuleRequest
Auto Trait Implementations§
impl Freeze for PatchedVlanTranslationRuleRequest
impl RefUnwindSafe for PatchedVlanTranslationRuleRequest
impl Send for PatchedVlanTranslationRuleRequest
impl Sync for PatchedVlanTranslationRuleRequest
impl Unpin for PatchedVlanTranslationRuleRequest
impl UnwindSafe for PatchedVlanTranslationRuleRequest
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