pub struct Comment {
pub id: String,
pub author: String,
pub body: String,
pub created: DateTime<Utc>,
pub edited: Option<DateTime<Utc>>,
}Expand description
An inline comment on a ticket.
Fields§
§id: StringComment ID, e.g. c-7.
Author identity (git Name <email> or agent ID).
body: StringComment body (Markdown allowed).
created: DateTime<Utc>When the comment was posted.
edited: Option<DateTime<Utc>>When the comment was last edited, if ever.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Comment
impl<'de> Deserialize<'de> for Comment
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
impl StructuralPartialEq for Comment
Auto Trait Implementations§
impl Freeze for Comment
impl RefUnwindSafe for Comment
impl Send for Comment
impl Sync for Comment
impl Unpin for Comment
impl UnsafeUnpin for Comment
impl UnwindSafe for Comment
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