pub struct Comment {
pub id: i64,
pub body: String,
pub author: String,
pub created_at: String,
}
Fields§
§id: i64
§body: String
§created_at: String
Implementations§
Trait Implementations§
Source§impl From<Comment> for DisplayBody
impl From<Comment> for DisplayBody
Source§impl From<GithubMergeRequestCommentFields> for Comment
impl From<GithubMergeRequestCommentFields> for Comment
Source§fn from(fields: GithubMergeRequestCommentFields) -> Self
fn from(fields: GithubMergeRequestCommentFields) -> Self
Converts to this type from the input type.
Source§impl From<GitlabMergeRequestCommentFields> for Comment
impl From<GitlabMergeRequestCommentFields> for Comment
Source§fn from(fields: GitlabMergeRequestCommentFields) -> Self
fn from(fields: GitlabMergeRequestCommentFields) -> Self
Converts to this type from the input type.
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