pub struct SoftwareVersion {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 version: String,
pub alias: Option<String>,
pub release_date: Option<Option<String>>,
pub end_of_support_date: Option<Option<String>>,
pub documentation_url: Option<String>,
pub long_term_support: Option<bool>,
pub pre_release: Option<bool>,
pub platform: Box<ApprovalWorkflowStageResponseApprovalWorkflowStage>,
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
SoftwareVersion : 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>§version: String§alias: Option<String>Optional alternative label for this version
release_date: Option<Option<String>>§end_of_support_date: Option<Option<String>>§documentation_url: Option<String>§long_term_support: Option<bool>Is a Long Term Support version
pre_release: Option<bool>Is a Pre-Release version
platform: Box<ApprovalWorkflowStageResponseApprovalWorkflowStage>§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 SoftwareVersion
impl SoftwareVersion
Sourcepub fn new(
version: String,
platform: ApprovalWorkflowStageResponseApprovalWorkflowStage,
status: ApprovalWorkflowStageResponseApprovalWorkflowStage,
) -> SoftwareVersion
pub fn new( version: String, platform: ApprovalWorkflowStageResponseApprovalWorkflowStage, status: ApprovalWorkflowStageResponseApprovalWorkflowStage, ) -> SoftwareVersion
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 SoftwareVersion
impl Clone for SoftwareVersion
Source§fn clone(&self) -> SoftwareVersion
fn clone(&self) -> SoftwareVersion
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 SoftwareVersion
impl Debug for SoftwareVersion
Source§impl Default for SoftwareVersion
impl Default for SoftwareVersion
Source§fn default() -> SoftwareVersion
fn default() -> SoftwareVersion
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for SoftwareVersion
impl<'de> Deserialize<'de> for SoftwareVersion
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 SoftwareVersion
impl PartialEq for SoftwareVersion
Source§impl Serialize for SoftwareVersion
impl Serialize for SoftwareVersion
impl StructuralPartialEq for SoftwareVersion
Auto Trait Implementations§
impl Freeze for SoftwareVersion
impl RefUnwindSafe for SoftwareVersion
impl Send for SoftwareVersion
impl Sync for SoftwareVersion
impl Unpin for SoftwareVersion
impl UnsafeUnpin for SoftwareVersion
impl UnwindSafe for SoftwareVersion
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