pub struct JiraComment {
pub id: String,
pub body: Option<Value>,
pub author: Option<JiraUser>,
pub created: Option<String>,
pub updated: Option<String>,
}Expand description
Jira comment representation.
Fields§
§id: StringComment ID
body: Option<Value>Comment body — plain text (v2) or ADF document (v3)
Comment author
created: Option<String>Created timestamp
updated: Option<String>Updated timestamp
Trait Implementations§
Source§impl Clone for JiraComment
impl Clone for JiraComment
Source§fn clone(&self) -> JiraComment
fn clone(&self) -> JiraComment
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 JiraComment
impl Debug for JiraComment
Source§impl<'de> Deserialize<'de> for JiraComment
impl<'de> Deserialize<'de> for JiraComment
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 JiraComment
impl RefUnwindSafe for JiraComment
impl Send for JiraComment
impl Sync for JiraComment
impl Unpin for JiraComment
impl UnsafeUnpin for JiraComment
impl UnwindSafe for JiraComment
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