pub struct IssueCommentPayload {
pub action: Action,
pub sender: User,
pub issue: Issue,
pub comment: Comment,
pub repository: Repository,
}Expand description
IssueCommentPayload is a specialized version of Payload for the
IssueComment event.
Notably, the Option<T> fields on Payload that should always be present
in the case of this event are now T. Because conversion can fail in case
the fields on the original Payload are None, conversion happens
through the TryInto trait.
Fields§
§action: ActionThe action (created/edited/deleted) that triggered the webhook.
sender: UserThe account that triggered the action that triggered the webhook.
issue: IssueThe issue the comment was placed on.
comment: CommentThe comment involved in the action.
repository: RepositoryThe repository the issue belongs to.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for IssueCommentPayload
impl RefUnwindSafe for IssueCommentPayload
impl Send for IssueCommentPayload
impl Sync for IssueCommentPayload
impl Unpin for IssueCommentPayload
impl UnwindSafe for IssueCommentPayload
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