pub struct IssueCommentEvent {
pub action: IssueCommentAction,
pub issue: Issue,
pub comment: Comment,
pub repository: Repository,
pub sender: User,
pub installation: Option<InstallationId>,
}
Fields§
§action: IssueCommentAction
The action that was performed.
issue: Issue
The issue associated with the comment.
comment: Comment
The comment in question.
repository: Repository
The repository associated with this event.
sender: User
The user who triggered the event.
installation: Option<InstallationId>
The App installation ID. This is only present for GitHub App events.
Trait Implementations§
Source§impl AppEvent for IssueCommentEvent
impl AppEvent for IssueCommentEvent
Source§fn installation(&self) -> Option<u64>
fn installation(&self) -> Option<u64>
Returns the installation ID for the event.
Source§impl Clone for IssueCommentEvent
impl Clone for IssueCommentEvent
Source§fn clone(&self) -> IssueCommentEvent
fn clone(&self) -> IssueCommentEvent
Returns a copy 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 IssueCommentEvent
impl Debug for IssueCommentEvent
Source§impl<'de> Deserialize<'de> for IssueCommentEvent
impl<'de> Deserialize<'de> for IssueCommentEvent
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
Source§impl From<IssueCommentEvent> for Event
impl From<IssueCommentEvent> for Event
Source§fn from(original: IssueCommentEvent) -> Event
fn from(original: IssueCommentEvent) -> Event
Converts to this type from the input type.
Source§impl Hash for IssueCommentEvent
impl Hash for IssueCommentEvent
Source§impl Ord for IssueCommentEvent
impl Ord for IssueCommentEvent
Source§fn cmp(&self, other: &IssueCommentEvent) -> Ordering
fn cmp(&self, other: &IssueCommentEvent) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for IssueCommentEvent
impl PartialEq for IssueCommentEvent
Source§impl PartialOrd for IssueCommentEvent
impl PartialOrd for IssueCommentEvent
impl Eq for IssueCommentEvent
impl StructuralPartialEq for IssueCommentEvent
Auto Trait Implementations§
impl Freeze for IssueCommentEvent
impl RefUnwindSafe for IssueCommentEvent
impl Send for IssueCommentEvent
impl Sync for IssueCommentEvent
impl Unpin for IssueCommentEvent
impl UnwindSafe for IssueCommentEvent
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