pub struct PatchedVirtualDeviceContextRequest {Show 13 fields
pub id: Option<Uuid>,
pub name: Option<String>,
pub identifier: Option<Option<i32>>,
pub description: Option<String>,
pub device: Option<Box<ApprovalWorkflowStageResponseApprovalWorkflowStage>>,
pub status: Option<Box<ApprovalWorkflowStageResponseApprovalWorkflowStage>>,
pub role: Option<Option<Box<ApprovalWorkflowUser>>>,
pub primary_ip4: Option<Option<Box<PrimaryIpv4>>>,
pub primary_ip6: Option<Option<Box<PrimaryIpv6>>>,
pub tenant: Option<Option<Box<ApprovalWorkflowUser>>>,
pub custom_fields: Option<HashMap<String, Value>>,
pub relationships: Option<HashMap<String, ApprovalWorkflowDefinitionRequestRelationshipsValue>>,
pub tags: Option<Vec<ApprovalWorkflowStageResponseApprovalWorkflowStage>>,
}Expand description
PatchedVirtualDeviceContextRequest : 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: Option<Uuid>§name: Option<String>§identifier: Option<Option<i32>>Unique identifier provided by the platform being virtualized (Example: Nexus VDC Identifier)
description: Option<String>§device: Option<Box<ApprovalWorkflowStageResponseApprovalWorkflowStage>>§status: Option<Box<ApprovalWorkflowStageResponseApprovalWorkflowStage>>§role: Option<Option<Box<ApprovalWorkflowUser>>>§primary_ip4: Option<Option<Box<PrimaryIpv4>>>§primary_ip6: Option<Option<Box<PrimaryIpv6>>>§tenant: Option<Option<Box<ApprovalWorkflowUser>>>§custom_fields: Option<HashMap<String, Value>>§relationships: Option<HashMap<String, ApprovalWorkflowDefinitionRequestRelationshipsValue>>Implementations§
Source§impl PatchedVirtualDeviceContextRequest
impl PatchedVirtualDeviceContextRequest
Sourcepub fn new() -> PatchedVirtualDeviceContextRequest
pub fn new() -> PatchedVirtualDeviceContextRequest
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 PatchedVirtualDeviceContextRequest
impl Clone for PatchedVirtualDeviceContextRequest
Source§fn clone(&self) -> PatchedVirtualDeviceContextRequest
fn clone(&self) -> PatchedVirtualDeviceContextRequest
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 Default for PatchedVirtualDeviceContextRequest
impl Default for PatchedVirtualDeviceContextRequest
Source§fn default() -> PatchedVirtualDeviceContextRequest
fn default() -> PatchedVirtualDeviceContextRequest
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for PatchedVirtualDeviceContextRequest
impl<'de> Deserialize<'de> for PatchedVirtualDeviceContextRequest
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 PatchedVirtualDeviceContextRequest
impl PartialEq for PatchedVirtualDeviceContextRequest
Source§fn eq(&self, other: &PatchedVirtualDeviceContextRequest) -> bool
fn eq(&self, other: &PatchedVirtualDeviceContextRequest) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for PatchedVirtualDeviceContextRequest
Auto Trait Implementations§
impl Freeze for PatchedVirtualDeviceContextRequest
impl RefUnwindSafe for PatchedVirtualDeviceContextRequest
impl Send for PatchedVirtualDeviceContextRequest
impl Sync for PatchedVirtualDeviceContextRequest
impl Unpin for PatchedVirtualDeviceContextRequest
impl UnsafeUnpin for PatchedVirtualDeviceContextRequest
impl UnwindSafe for PatchedVirtualDeviceContextRequest
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