pub struct GitHubComment {
pub id: u64,
pub body: String,
pub html_url: String,
pub user: GitHubUser,
}Expand description
A GitHub issue/PR comment.
Fields§
§id: u64The comment ID.
body: StringThe comment body (Markdown).
html_url: StringThe HTML URL for the comment.
user: GitHubUserThe user who created the comment.
Trait Implementations§
Source§impl Clone for GitHubComment
impl Clone for GitHubComment
Source§fn clone(&self) -> GitHubComment
fn clone(&self) -> GitHubComment
Returns a duplicate of the value. Read more
1.0.0 · 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 GitHubComment
impl Debug for GitHubComment
Source§impl<'de> Deserialize<'de> for GitHubComment
impl<'de> Deserialize<'de> for GitHubComment
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 GitHubComment
impl RefUnwindSafe for GitHubComment
impl Send for GitHubComment
impl Sync for GitHubComment
impl Unpin for GitHubComment
impl UnsafeUnpin for GitHubComment
impl UnwindSafe for GitHubComment
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