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