pub struct JiraVersionDto {
pub id: String,
pub name: String,
pub project: Option<String>,
pub project_id: Option<u64>,
pub description: Option<String>,
pub start_date: Option<String>,
pub release_date: Option<String>,
pub released: bool,
pub archived: bool,
pub overdue: Option<bool>,
pub issues_status_for_fix_version: Option<JiraVersionIssueStatusCounts>,
pub issues_unresolved_count: Option<u32>,
}Expand description
Version DTO returned by the Jira REST API.
Field set is the union of Cloud (v3) and Server/DC (v2) — both use
the same path family. issuesStatusForFixVersion only appears when
the caller passes ?expand=issuesstatus.
Fields§
§id: String§name: String§project: Option<String>Project key (e.g., “PROJ”). Server returns this directly; Cloud
returns projectId separately, so we accept either.
project_id: Option<u64>§description: Option<String>§start_date: Option<String>§release_date: Option<String>§released: bool§archived: bool§overdue: Option<bool>Computed by the server: true when releaseDate is in the past and the version is still unreleased.
issues_status_for_fix_version: Option<JiraVersionIssueStatusCounts>Returned only with ?expand=issuesstatus (Cloud) — keys are
status categories (unmapped, toDo, inProgress, done).
issues_unresolved_count: Option<u32>Server/DC returns this directly on the version DTO. Callers that
need a total fixed-issue count have to hit
/version/{id}/relatedIssueCounts separately.
Trait Implementations§
Source§impl Clone for JiraVersionDto
impl Clone for JiraVersionDto
Source§fn clone(&self) -> JiraVersionDto
fn clone(&self) -> JiraVersionDto
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 JiraVersionDto
impl Debug for JiraVersionDto
Source§impl<'de> Deserialize<'de> for JiraVersionDto
impl<'de> Deserialize<'de> for JiraVersionDto
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
Auto Trait Implementations§
impl Freeze for JiraVersionDto
impl RefUnwindSafe for JiraVersionDto
impl Send for JiraVersionDto
impl Sync for JiraVersionDto
impl Unpin for JiraVersionDto
impl UnsafeUnpin for JiraVersionDto
impl UnwindSafe for JiraVersionDto
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