pub struct VlanAllocationRequest {
pub id: Option<Uuid>,
pub vid: Option<i32>,
pub vlan_group: Option<Option<Box<ApprovalWorkflowUser>>>,
pub name: String,
pub status: Box<ApprovalWorkflowStageResponseApprovalWorkflowStage>,
pub role: Option<Option<Box<ApprovalWorkflowUser>>>,
pub tenant: Option<Option<Box<ApprovalWorkflowUser>>>,
pub description: Option<String>,
pub tags: Option<Vec<ApprovalWorkflowStageResponseApprovalWorkflowStage>>,
pub custom_fields: Option<HashMap<String, Value>>,
pub relationships: Option<HashMap<String, ApprovalWorkflowDefinitionRequestRelationshipsValue>>,
}Expand description
VlanAllocationRequest : Input serializer for POST to /api/ipam/vlan-groups/{id}/available-vlans/, i.e. allocating VLAN from VLANGroup.
Fields§
§id: Option<Uuid>§vid: Option<i32>§vlan_group: Option<Option<Box<ApprovalWorkflowUser>>>§name: String§status: Box<ApprovalWorkflowStageResponseApprovalWorkflowStage>§role: Option<Option<Box<ApprovalWorkflowUser>>>§tenant: Option<Option<Box<ApprovalWorkflowUser>>>§description: Option<String>§custom_fields: Option<HashMap<String, Value>>§relationships: Option<HashMap<String, ApprovalWorkflowDefinitionRequestRelationshipsValue>>Implementations§
Source§impl VlanAllocationRequest
impl VlanAllocationRequest
Sourcepub fn new(
name: String,
status: ApprovalWorkflowStageResponseApprovalWorkflowStage,
) -> VlanAllocationRequest
pub fn new( name: String, status: ApprovalWorkflowStageResponseApprovalWorkflowStage, ) -> VlanAllocationRequest
Input serializer for POST to /api/ipam/vlan-groups/{id}/available-vlans/, i.e. allocating VLAN from VLANGroup.
Trait Implementations§
Source§impl Clone for VlanAllocationRequest
impl Clone for VlanAllocationRequest
Source§fn clone(&self) -> VlanAllocationRequest
fn clone(&self) -> VlanAllocationRequest
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 VlanAllocationRequest
impl Debug for VlanAllocationRequest
Source§impl Default for VlanAllocationRequest
impl Default for VlanAllocationRequest
Source§fn default() -> VlanAllocationRequest
fn default() -> VlanAllocationRequest
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for VlanAllocationRequest
impl<'de> Deserialize<'de> for VlanAllocationRequest
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 VlanAllocationRequest
impl PartialEq for VlanAllocationRequest
Source§impl Serialize for VlanAllocationRequest
impl Serialize for VlanAllocationRequest
impl StructuralPartialEq for VlanAllocationRequest
Auto Trait Implementations§
impl Freeze for VlanAllocationRequest
impl RefUnwindSafe for VlanAllocationRequest
impl Send for VlanAllocationRequest
impl Sync for VlanAllocationRequest
impl Unpin for VlanAllocationRequest
impl UnsafeUnpin for VlanAllocationRequest
impl UnwindSafe for VlanAllocationRequest
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