Struct github_webhook::payload_types::IssueComment
source · pub struct IssueComment<'a> {
pub url: &'a str,
pub html_url: &'a str,
pub issue_url: &'a str,
pub id: usize,
pub node_id: &'a str,
pub user: User<'a>,
pub created_at: &'a str,
pub updated_at: &'a str,
pub author_association: AuthorAssociation,
pub body: &'a str,
pub reactions: Reactions<'a>,
pub performed_via_github_app: Option<App<'a>>,
}Expand description
The comment itself.
Fields§
§url: &'a strURL for the issue comment
html_url: &'a str§issue_url: &'a str§id: usizeUnique identifier of the issue comment
node_id: &'a str§user: User<'a>§created_at: &'a str§updated_at: &'a str§body: &'a strContents of the issue comment
reactions: Reactions<'a>§performed_via_github_app: Option<App<'a>>Trait Implementations§
source§impl<'a> Debug for IssueComment<'a>
impl<'a> Debug for IssueComment<'a>
source§impl<'de: 'a, 'a> Deserialize<'de> for IssueComment<'a>
impl<'de: 'a, 'a> Deserialize<'de> for IssueComment<'a>
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<'a> RefUnwindSafe for IssueComment<'a>
impl<'a> Send for IssueComment<'a>
impl<'a> Sync for IssueComment<'a>
impl<'a> Unpin for IssueComment<'a>
impl<'a> UnwindSafe for IssueComment<'a>
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