pub struct PatchedBulkVlanTranslationRuleRequest {
pub id: i32,
pub policy: Option<i32>,
pub local_vid: Option<i32>,
pub remote_vid: Option<i32>,
pub description: Option<String>,
}Expand description
PatchedBulkVlanTranslationRuleRequest : Adds support for custom fields and tags.
Fields§
§id: i32§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 PatchedBulkVlanTranslationRuleRequest
impl PatchedBulkVlanTranslationRuleRequest
Sourcepub fn new(id: i32) -> PatchedBulkVlanTranslationRuleRequest
pub fn new(id: i32) -> PatchedBulkVlanTranslationRuleRequest
Adds support for custom fields and tags.
Trait Implementations§
Source§impl Clone for PatchedBulkVlanTranslationRuleRequest
impl Clone for PatchedBulkVlanTranslationRuleRequest
Source§fn clone(&self) -> PatchedBulkVlanTranslationRuleRequest
fn clone(&self) -> PatchedBulkVlanTranslationRuleRequest
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 PatchedBulkVlanTranslationRuleRequest
impl Default for PatchedBulkVlanTranslationRuleRequest
Source§fn default() -> PatchedBulkVlanTranslationRuleRequest
fn default() -> PatchedBulkVlanTranslationRuleRequest
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for PatchedBulkVlanTranslationRuleRequest
impl<'de> Deserialize<'de> for PatchedBulkVlanTranslationRuleRequest
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
impl StructuralPartialEq for PatchedBulkVlanTranslationRuleRequest
Auto Trait Implementations§
impl Freeze for PatchedBulkVlanTranslationRuleRequest
impl RefUnwindSafe for PatchedBulkVlanTranslationRuleRequest
impl Send for PatchedBulkVlanTranslationRuleRequest
impl Sync for PatchedBulkVlanTranslationRuleRequest
impl Unpin for PatchedBulkVlanTranslationRuleRequest
impl UnsafeUnpin for PatchedBulkVlanTranslationRuleRequest
impl UnwindSafe for PatchedBulkVlanTranslationRuleRequest
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