pub struct PatchedVirtualMachineRequest {Show 22 fields
pub id: Option<Uuid>,
pub local_config_context_data: Option<Option<Value>>,
pub local_config_context_data_owner_object_id: Option<Option<Uuid>>,
pub name: Option<String>,
pub vcpus: Option<Option<i32>>,
pub memory: Option<Option<i32>>,
pub disk: Option<Option<i32>>,
pub comments: Option<String>,
pub local_config_context_schema: Option<Option<Box<BulkWritableConfigContextRequestConfigContextSchema>>>,
pub local_config_context_data_owner_content_type: Option<Option<Box<ApprovalWorkflowUser>>>,
pub cluster: Option<Box<ApprovalWorkflowStageResponseApprovalWorkflowStage>>,
pub tenant: Option<Option<Box<ApprovalWorkflowUser>>>,
pub platform: Option<Option<Box<ApprovalWorkflowUser>>>,
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 software_version: Option<Option<Box<BulkWritableVirtualMachineRequestSoftwareVersion>>>,
pub software_image_files: Option<Vec<SoftwareImageFiles>>,
pub tags: Option<Vec<ApprovalWorkflowStageResponseApprovalWorkflowStage>>,
pub custom_fields: Option<HashMap<String, Value>>,
pub relationships: Option<HashMap<String, ApprovalWorkflowDefinitionRequestRelationshipsValue>>,
}Expand description
PatchedVirtualMachineRequest : 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>§local_config_context_data: Option<Option<Value>>§local_config_context_data_owner_object_id: Option<Option<Uuid>>§name: Option<String>§vcpus: Option<Option<i32>>§memory: Option<Option<i32>>§disk: Option<Option<i32>>§comments: Option<String>§local_config_context_schema: Option<Option<Box<BulkWritableConfigContextRequestConfigContextSchema>>>§local_config_context_data_owner_content_type: Option<Option<Box<ApprovalWorkflowUser>>>§cluster: Option<Box<ApprovalWorkflowStageResponseApprovalWorkflowStage>>§tenant: Option<Option<Box<ApprovalWorkflowUser>>>§platform: Option<Option<Box<ApprovalWorkflowUser>>>§status: Option<Box<ApprovalWorkflowStageResponseApprovalWorkflowStage>>§role: Option<Option<Box<ApprovalWorkflowUser>>>§primary_ip4: Option<Option<Box<PrimaryIpv4>>>§primary_ip6: Option<Option<Box<PrimaryIpv6>>>§software_version: Option<Option<Box<BulkWritableVirtualMachineRequestSoftwareVersion>>>§software_image_files: Option<Vec<SoftwareImageFiles>>Override the software image files associated with the software version for this virtual machine
custom_fields: Option<HashMap<String, Value>>§relationships: Option<HashMap<String, ApprovalWorkflowDefinitionRequestRelationshipsValue>>Implementations§
Source§impl PatchedVirtualMachineRequest
impl PatchedVirtualMachineRequest
Sourcepub fn new() -> PatchedVirtualMachineRequest
pub fn new() -> PatchedVirtualMachineRequest
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 PatchedVirtualMachineRequest
impl Clone for PatchedVirtualMachineRequest
Source§fn clone(&self) -> PatchedVirtualMachineRequest
fn clone(&self) -> PatchedVirtualMachineRequest
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 PatchedVirtualMachineRequest
impl Debug for PatchedVirtualMachineRequest
Source§impl Default for PatchedVirtualMachineRequest
impl Default for PatchedVirtualMachineRequest
Source§fn default() -> PatchedVirtualMachineRequest
fn default() -> PatchedVirtualMachineRequest
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for PatchedVirtualMachineRequest
impl<'de> Deserialize<'de> for PatchedVirtualMachineRequest
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 PatchedVirtualMachineRequest
impl PartialEq for PatchedVirtualMachineRequest
Source§fn eq(&self, other: &PatchedVirtualMachineRequest) -> bool
fn eq(&self, other: &PatchedVirtualMachineRequest) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for PatchedVirtualMachineRequest
Auto Trait Implementations§
impl Freeze for PatchedVirtualMachineRequest
impl RefUnwindSafe for PatchedVirtualMachineRequest
impl Send for PatchedVirtualMachineRequest
impl Sync for PatchedVirtualMachineRequest
impl Unpin for PatchedVirtualMachineRequest
impl UnsafeUnpin for PatchedVirtualMachineRequest
impl UnwindSafe for PatchedVirtualMachineRequest
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