pub struct VlanTranslationPolicyRequest {
pub name: String,
pub description: Option<String>,
pub owner: Option<Option<Box<AsnRangeRequestOwner>>>,
pub comments: Option<String>,
}Expand description
VlanTranslationPolicyRequest : Base serializer class for models inheriting from PrimaryModel.
Fields§
§name: String§description: Option<String>§owner: Option<Option<Box<AsnRangeRequestOwner>>>§comments: Option<String>Implementations§
Source§impl VlanTranslationPolicyRequest
impl VlanTranslationPolicyRequest
Sourcepub fn new(name: String) -> VlanTranslationPolicyRequest
pub fn new(name: String) -> VlanTranslationPolicyRequest
Base serializer class for models inheriting from PrimaryModel.
Trait Implementations§
Source§impl Clone for VlanTranslationPolicyRequest
impl Clone for VlanTranslationPolicyRequest
Source§fn clone(&self) -> VlanTranslationPolicyRequest
fn clone(&self) -> VlanTranslationPolicyRequest
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 Debug for VlanTranslationPolicyRequest
impl Debug for VlanTranslationPolicyRequest
Source§impl Default for VlanTranslationPolicyRequest
impl Default for VlanTranslationPolicyRequest
Source§fn default() -> VlanTranslationPolicyRequest
fn default() -> VlanTranslationPolicyRequest
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for VlanTranslationPolicyRequest
impl<'de> Deserialize<'de> for VlanTranslationPolicyRequest
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 VlanTranslationPolicyRequest
impl PartialEq for VlanTranslationPolicyRequest
Source§fn eq(&self, other: &VlanTranslationPolicyRequest) -> bool
fn eq(&self, other: &VlanTranslationPolicyRequest) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for VlanTranslationPolicyRequest
Auto Trait Implementations§
impl Freeze for VlanTranslationPolicyRequest
impl RefUnwindSafe for VlanTranslationPolicyRequest
impl Send for VlanTranslationPolicyRequest
impl Sync for VlanTranslationPolicyRequest
impl Unpin for VlanTranslationPolicyRequest
impl UnsafeUnpin for VlanTranslationPolicyRequest
impl UnwindSafe for VlanTranslationPolicyRequest
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