pub struct PatchedSoftwareImageFileRequest {Show 13 fields
pub id: Option<Uuid>,
pub image_file_name: Option<String>,
pub image_file_checksum: Option<String>,
pub hashing_algorithm: Option<Box<BulkWritableSoftwareImageFileRequestHashingAlgorithm>>,
pub image_file_size: Option<Option<i64>>,
pub download_url: Option<String>,
pub default_image: Option<bool>,
pub software_version: Option<Box<ApprovalWorkflowStageResponseApprovalWorkflowStage>>,
pub external_integration: Option<Option<Box<ApprovalWorkflowUser>>>,
pub status: Option<Box<ApprovalWorkflowStageResponseApprovalWorkflowStage>>,
pub custom_fields: Option<HashMap<String, Value>>,
pub relationships: Option<HashMap<String, ApprovalWorkflowDefinitionRequestRelationshipsValue>>,
pub tags: Option<Vec<ApprovalWorkflowStageResponseApprovalWorkflowStage>>,
}Expand description
PatchedSoftwareImageFileRequest : 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>§image_file_name: Option<String>§image_file_checksum: Option<String>§hashing_algorithm: Option<Box<BulkWritableSoftwareImageFileRequestHashingAlgorithm>>§image_file_size: Option<Option<i64>>Image file size in bytes
download_url: Option<String>§default_image: Option<bool>Is the default image for this software version
software_version: Option<Box<ApprovalWorkflowStageResponseApprovalWorkflowStage>>§external_integration: Option<Option<Box<ApprovalWorkflowUser>>>§status: Option<Box<ApprovalWorkflowStageResponseApprovalWorkflowStage>>§custom_fields: Option<HashMap<String, Value>>§relationships: Option<HashMap<String, ApprovalWorkflowDefinitionRequestRelationshipsValue>>Implementations§
Source§impl PatchedSoftwareImageFileRequest
impl PatchedSoftwareImageFileRequest
Sourcepub fn new() -> PatchedSoftwareImageFileRequest
pub fn new() -> PatchedSoftwareImageFileRequest
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 PatchedSoftwareImageFileRequest
impl Clone for PatchedSoftwareImageFileRequest
Source§fn clone(&self) -> PatchedSoftwareImageFileRequest
fn clone(&self) -> PatchedSoftwareImageFileRequest
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 PatchedSoftwareImageFileRequest
impl Default for PatchedSoftwareImageFileRequest
Source§fn default() -> PatchedSoftwareImageFileRequest
fn default() -> PatchedSoftwareImageFileRequest
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for PatchedSoftwareImageFileRequest
impl<'de> Deserialize<'de> for PatchedSoftwareImageFileRequest
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 PatchedSoftwareImageFileRequest
impl PartialEq for PatchedSoftwareImageFileRequest
Source§fn eq(&self, other: &PatchedSoftwareImageFileRequest) -> bool
fn eq(&self, other: &PatchedSoftwareImageFileRequest) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for PatchedSoftwareImageFileRequest
Auto Trait Implementations§
impl Freeze for PatchedSoftwareImageFileRequest
impl RefUnwindSafe for PatchedSoftwareImageFileRequest
impl Send for PatchedSoftwareImageFileRequest
impl Sync for PatchedSoftwareImageFileRequest
impl Unpin for PatchedSoftwareImageFileRequest
impl UnsafeUnpin for PatchedSoftwareImageFileRequest
impl UnwindSafe for PatchedSoftwareImageFileRequest
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