pub struct BulkWritableVlanRequest {
pub id: Uuid,
pub location: Option<Option<Box<BulkWritablePrefixRequestLocation>>>,
pub vid: i32,
pub name: String,
pub description: Option<String>,
pub vlan_group: Option<Option<Box<ApprovalWorkflowUser>>>,
pub status: Box<ApprovalWorkflowStageResponseApprovalWorkflowStage>,
pub role: Option<Option<Box<ApprovalWorkflowUser>>>,
pub tenant: Option<Option<Box<ApprovalWorkflowUser>>>,
pub tags: Option<Vec<ApprovalWorkflowStageResponseApprovalWorkflowStage>>,
pub custom_fields: Option<HashMap<String, Value>>,
pub relationships: Option<HashMap<String, ApprovalWorkflowDefinitionRequestRelationshipsValue>>,
}Expand description
BulkWritableVlanRequest : Base class to use for serializers based on OrganizationalModel or PrimaryModel. Can also be used for models derived from BaseModel, so long as they support custom fields, notes, and relationships.
Fields§
§id: Uuid§location: Option<Option<Box<BulkWritablePrefixRequestLocation>>>§vid: i32§name: String§description: Option<String>§vlan_group: Option<Option<Box<ApprovalWorkflowUser>>>§status: Box<ApprovalWorkflowStageResponseApprovalWorkflowStage>§role: Option<Option<Box<ApprovalWorkflowUser>>>§tenant: Option<Option<Box<ApprovalWorkflowUser>>>§custom_fields: Option<HashMap<String, Value>>§relationships: Option<HashMap<String, ApprovalWorkflowDefinitionRequestRelationshipsValue>>Implementations§
Source§impl BulkWritableVlanRequest
impl BulkWritableVlanRequest
Sourcepub fn new(
id: Uuid,
vid: i32,
name: String,
status: ApprovalWorkflowStageResponseApprovalWorkflowStage,
) -> BulkWritableVlanRequest
pub fn new( id: Uuid, vid: i32, name: String, status: ApprovalWorkflowStageResponseApprovalWorkflowStage, ) -> BulkWritableVlanRequest
Base class to use for serializers based on OrganizationalModel or PrimaryModel. Can also be used for models derived from BaseModel, so long as they support custom fields, notes, and relationships.
Trait Implementations§
Source§impl Clone for BulkWritableVlanRequest
impl Clone for BulkWritableVlanRequest
Source§fn clone(&self) -> BulkWritableVlanRequest
fn clone(&self) -> BulkWritableVlanRequest
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 BulkWritableVlanRequest
impl Debug for BulkWritableVlanRequest
Source§impl Default for BulkWritableVlanRequest
impl Default for BulkWritableVlanRequest
Source§fn default() -> BulkWritableVlanRequest
fn default() -> BulkWritableVlanRequest
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for BulkWritableVlanRequest
impl<'de> Deserialize<'de> for BulkWritableVlanRequest
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 BulkWritableVlanRequest
impl PartialEq for BulkWritableVlanRequest
Source§impl Serialize for BulkWritableVlanRequest
impl Serialize for BulkWritableVlanRequest
impl StructuralPartialEq for BulkWritableVlanRequest
Auto Trait Implementations§
impl Freeze for BulkWritableVlanRequest
impl RefUnwindSafe for BulkWritableVlanRequest
impl Send for BulkWritableVlanRequest
impl Sync for BulkWritableVlanRequest
impl Unpin for BulkWritableVlanRequest
impl UnsafeUnpin for BulkWritableVlanRequest
impl UnwindSafe for BulkWritableVlanRequest
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