pub struct Comment {
pub combined_id: CombinedId,
pub author: IdentityStub,
pub message: String,
pub files: Vec<File>,
pub timestamp: TimeStamp,
}Expand description
The representation of a comment in an Issue
Fields§
§combined_id: CombinedIdThe Id of this Comment.
This is the result of a combination with the
Issue id and the id
of the Operation
that created this comment.
You can use this to effectively search for a comment, because it’s Id
tells you which Issue it is contained in.
The Author of this Comment.
message: StringThe body of this Comment.
files: Vec<File>Additional files that have been attached to this Comment.
timestamp: TimeStampWhen this Comment was created.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Comment
impl RefUnwindSafe for Comment
impl Send for Comment
impl Sync for Comment
impl Unpin 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