pub struct Issue {
pub self_link: String,
pub key: String,
pub id: String,
pub fields: BTreeMap<String, Value>,
pub changelog: Option<Changelog>,
}
Expand description
represents a single jira issue
Fields§
§self_link: String
§key: String
§id: String
§fields: BTreeMap<String, Value>
§changelog: Option<Changelog>
Implementations§
Source§impl Issue
impl Issue
Sourcepub fn field<F>(&self, name: &str) -> Option<Result<F>>where
for<'de> F: Deserialize<'de>,
pub fn field<F>(&self, name: &str) -> Option<Result<F>>where
for<'de> F: Deserialize<'de>,
resolves a typed field from an issues lists of arbitrary fields
Sourcepub fn description(&self) -> Option<String>
pub fn description(&self) -> Option<String>
description of the issue
pub fn resolution_date(&self) -> Option<String>
Sourcepub fn issue_type(&self) -> Option<IssueType>
pub fn issue_type(&self) -> Option<IssueType>
an issue type
Sourcepub fn fix_versions(&self) -> Vec<Version>
pub fn fix_versions(&self) -> Vec<Version>
list of versions associated with the issue
pub fn project(&self) -> Option<Project>
pub fn resolution(&self) -> Option<Resolution>
pub fn attachment(&self) -> Vec<Attachment>
pub fn comment(&self) -> Vec<Comment>
pub fn permalink(&self, jira: &Jira) -> String
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Issue
impl<'de> Deserialize<'de> for Issue
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 Issue
impl RefUnwindSafe for Issue
impl Send for Issue
impl Sync for Issue
impl Unpin for Issue
impl UnwindSafe for Issue
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