pub struct SoftwareImageFile {Show 19 fields
pub id: Option<Uuid>,
pub object_type: Option<String>,
pub display: Option<String>,
pub url: Option<String>,
pub natural_slug: Option<String>,
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 created: Option<Option<String>>,
pub last_updated: Option<Option<String>>,
pub notes_url: Option<String>,
pub custom_fields: Option<HashMap<String, Value>>,
pub tags: Option<Vec<ApprovalWorkflowStageResponseApprovalWorkflowStage>>,
}Expand description
SoftwareImageFile : 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>§object_type: Option<String>§display: Option<String>Human friendly display value
url: Option<String>§natural_slug: Option<String>§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>§created: Option<Option<String>>§last_updated: Option<Option<String>>§notes_url: Option<String>§custom_fields: Option<HashMap<String, Value>>Implementations§
Source§impl SoftwareImageFile
impl SoftwareImageFile
Sourcepub fn new(
image_file_name: String,
software_version: ApprovalWorkflowStageResponseApprovalWorkflowStage,
status: ApprovalWorkflowStageResponseApprovalWorkflowStage,
) -> SoftwareImageFile
pub fn new( image_file_name: String, software_version: ApprovalWorkflowStageResponseApprovalWorkflowStage, status: ApprovalWorkflowStageResponseApprovalWorkflowStage, ) -> SoftwareImageFile
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 SoftwareImageFile
impl Clone for SoftwareImageFile
Source§fn clone(&self) -> SoftwareImageFile
fn clone(&self) -> SoftwareImageFile
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 SoftwareImageFile
impl Debug for SoftwareImageFile
Source§impl Default for SoftwareImageFile
impl Default for SoftwareImageFile
Source§fn default() -> SoftwareImageFile
fn default() -> SoftwareImageFile
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for SoftwareImageFile
impl<'de> Deserialize<'de> for SoftwareImageFile
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 SoftwareImageFile
impl PartialEq for SoftwareImageFile
Source§impl Serialize for SoftwareImageFile
impl Serialize for SoftwareImageFile
impl StructuralPartialEq for SoftwareImageFile
Auto Trait Implementations§
impl Freeze for SoftwareImageFile
impl RefUnwindSafe for SoftwareImageFile
impl Send for SoftwareImageFile
impl Sync for SoftwareImageFile
impl Unpin for SoftwareImageFile
impl UnsafeUnpin for SoftwareImageFile
impl UnwindSafe for SoftwareImageFile
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