pub struct PatchedWritableVlanRequest {Show 13 fields
pub site: Option<Option<Box<PatchedWritableVlanRequestSite>>>,
pub group: Option<Option<Box<PatchedWritableVlanRequestGroup>>>,
pub vid: Option<i32>,
pub name: Option<String>,
pub tenant: Option<Option<Box<AsnRangeRequestTenant>>>,
pub status: Option<Status>,
pub role: Option<Option<Box<IpRangeRequestRole>>>,
pub description: Option<String>,
pub qinq_role: Option<Option<QinqRole>>,
pub qinq_svlan: Option<Option<i32>>,
pub comments: Option<String>,
pub tags: Option<Vec<NestedTagRequest>>,
pub custom_fields: Option<HashMap<String, Value>>,
}Expand description
PatchedWritableVlanRequest : Adds support for custom fields and tags.
Fields§
§site: Option<Option<Box<PatchedWritableVlanRequestSite>>>§group: Option<Option<Box<PatchedWritableVlanRequestGroup>>>§vid: Option<i32>Numeric VLAN ID (1-4094)
name: Option<String>§tenant: Option<Option<Box<AsnRangeRequestTenant>>>§status: Option<Status>Operational status of this VLAN * active - Active * reserved - Reserved * deprecated - Deprecated
role: Option<Option<Box<IpRangeRequestRole>>>§description: Option<String>§qinq_role: Option<Option<QinqRole>>Customer/service VLAN designation (for Q-in-Q/IEEE 802.1ad) * svlan - Service * cvlan - Customer
qinq_svlan: Option<Option<i32>>§comments: Option<String>§custom_fields: Option<HashMap<String, Value>>Implementations§
Source§impl PatchedWritableVlanRequest
impl PatchedWritableVlanRequest
Sourcepub fn new() -> PatchedWritableVlanRequest
pub fn new() -> PatchedWritableVlanRequest
Adds support for custom fields and tags.
Trait Implementations§
Source§impl Clone for PatchedWritableVlanRequest
impl Clone for PatchedWritableVlanRequest
Source§fn clone(&self) -> PatchedWritableVlanRequest
fn clone(&self) -> PatchedWritableVlanRequest
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 Debug for PatchedWritableVlanRequest
impl Debug for PatchedWritableVlanRequest
Source§impl Default for PatchedWritableVlanRequest
impl Default for PatchedWritableVlanRequest
Source§fn default() -> PatchedWritableVlanRequest
fn default() -> PatchedWritableVlanRequest
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for PatchedWritableVlanRequest
impl<'de> Deserialize<'de> for PatchedWritableVlanRequest
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 PatchedWritableVlanRequest
Auto Trait Implementations§
impl Freeze for PatchedWritableVlanRequest
impl RefUnwindSafe for PatchedWritableVlanRequest
impl Send for PatchedWritableVlanRequest
impl Sync for PatchedWritableVlanRequest
impl Unpin for PatchedWritableVlanRequest
impl UnwindSafe for PatchedWritableVlanRequest
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