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