pub struct SoftwareVersionRequest {Show 13 fields
pub id: Option<Uuid>,
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 custom_fields: Option<HashMap<String, Value>>,
pub relationships: Option<HashMap<String, ApprovalWorkflowDefinitionRequestRelationshipsValue>>,
pub tags: Option<Vec<ApprovalWorkflowStageResponseApprovalWorkflowStage>>,
}Expand description
SoftwareVersionRequest : 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>§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>§custom_fields: Option<HashMap<String, Value>>§relationships: Option<HashMap<String, ApprovalWorkflowDefinitionRequestRelationshipsValue>>Implementations§
Source§impl SoftwareVersionRequest
impl SoftwareVersionRequest
Sourcepub fn new(
version: String,
platform: ApprovalWorkflowStageResponseApprovalWorkflowStage,
status: ApprovalWorkflowStageResponseApprovalWorkflowStage,
) -> SoftwareVersionRequest
pub fn new( version: String, platform: ApprovalWorkflowStageResponseApprovalWorkflowStage, status: ApprovalWorkflowStageResponseApprovalWorkflowStage, ) -> SoftwareVersionRequest
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 SoftwareVersionRequest
impl Clone for SoftwareVersionRequest
Source§fn clone(&self) -> SoftwareVersionRequest
fn clone(&self) -> SoftwareVersionRequest
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 SoftwareVersionRequest
impl Debug for SoftwareVersionRequest
Source§impl Default for SoftwareVersionRequest
impl Default for SoftwareVersionRequest
Source§fn default() -> SoftwareVersionRequest
fn default() -> SoftwareVersionRequest
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for SoftwareVersionRequest
impl<'de> Deserialize<'de> for SoftwareVersionRequest
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 SoftwareVersionRequest
impl PartialEq for SoftwareVersionRequest
Source§impl Serialize for SoftwareVersionRequest
impl Serialize for SoftwareVersionRequest
impl StructuralPartialEq for SoftwareVersionRequest
Auto Trait Implementations§
impl Freeze for SoftwareVersionRequest
impl RefUnwindSafe for SoftwareVersionRequest
impl Send for SoftwareVersionRequest
impl Sync for SoftwareVersionRequest
impl Unpin for SoftwareVersionRequest
impl UnsafeUnpin for SoftwareVersionRequest
impl UnwindSafe for SoftwareVersionRequest
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