pub struct PatchedBulkVlanRequest {Show 15 fields
pub id: i32,
pub site: Option<Option<Box<BulkVlanRequestSite>>>,
pub group: Option<Option<Box<BulkVlanRequestGroup>>>,
pub vid: Option<i32>,
pub name: Option<String>,
pub tenant: Option<Option<Box<AsnRangeRequestTenant>>>,
pub status: Option<Status>,
pub role: Option<Option<Box<AsnRequestRole>>>,
pub description: Option<String>,
pub qinq_role: Option<Option<QinqRole>>,
pub qinq_svlan: Option<Option<Box<NestedVlanRequest>>>,
pub owner: Option<Option<Box<AsnRangeRequestOwner>>>,
pub comments: Option<String>,
pub tags: Option<Vec<NestedTagRequest>>,
pub custom_fields: Option<HashMap<String, Value>>,
}Expand description
PatchedBulkVlanRequest : Base serializer class for models inheriting from PrimaryModel.
Fields§
§id: i32§site: Option<Option<Box<BulkVlanRequestSite>>>§group: Option<Option<Box<BulkVlanRequestGroup>>>§vid: Option<i32>Numeric VLAN ID (1-4094)
name: Option<String>§tenant: Option<Option<Box<AsnRangeRequestTenant>>>§status: Option<Status>active- Active *reserved- Reserved *deprecated- Deprecated
role: Option<Option<Box<AsnRequestRole>>>§description: Option<String>§qinq_role: Option<Option<QinqRole>>svlan- Service *cvlan- Customer
qinq_svlan: Option<Option<Box<NestedVlanRequest>>>§owner: Option<Option<Box<AsnRangeRequestOwner>>>§comments: Option<String>§custom_fields: Option<HashMap<String, Value>>Implementations§
Source§impl PatchedBulkVlanRequest
impl PatchedBulkVlanRequest
Sourcepub fn new(id: i32) -> PatchedBulkVlanRequest
pub fn new(id: i32) -> PatchedBulkVlanRequest
Base serializer class for models inheriting from PrimaryModel.
Trait Implementations§
Source§impl Clone for PatchedBulkVlanRequest
impl Clone for PatchedBulkVlanRequest
Source§fn clone(&self) -> PatchedBulkVlanRequest
fn clone(&self) -> PatchedBulkVlanRequest
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 PatchedBulkVlanRequest
impl Debug for PatchedBulkVlanRequest
Source§impl Default for PatchedBulkVlanRequest
impl Default for PatchedBulkVlanRequest
Source§fn default() -> PatchedBulkVlanRequest
fn default() -> PatchedBulkVlanRequest
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for PatchedBulkVlanRequest
impl<'de> Deserialize<'de> for PatchedBulkVlanRequest
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 PatchedBulkVlanRequest
impl PartialEq for PatchedBulkVlanRequest
Source§impl Serialize for PatchedBulkVlanRequest
impl Serialize for PatchedBulkVlanRequest
impl StructuralPartialEq for PatchedBulkVlanRequest
Auto Trait Implementations§
impl Freeze for PatchedBulkVlanRequest
impl RefUnwindSafe for PatchedBulkVlanRequest
impl Send for PatchedBulkVlanRequest
impl Sync for PatchedBulkVlanRequest
impl Unpin for PatchedBulkVlanRequest
impl UnsafeUnpin for PatchedBulkVlanRequest
impl UnwindSafe for PatchedBulkVlanRequest
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