pub struct CommitCommentEvent {
pub action: CommitCommentAction,
pub comment: Comment,
pub repository: Repository,
pub sender: User,
pub installation: Option<InstallationId>,
}
Fields§
§action: CommitCommentAction
§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 CommitCommentEvent
impl AppEvent for CommitCommentEvent
Source§fn installation(&self) -> Option<u64>
fn installation(&self) -> Option<u64>
Returns the installation ID for the event.
Source§impl Clone for CommitCommentEvent
impl Clone for CommitCommentEvent
Source§fn clone(&self) -> CommitCommentEvent
fn clone(&self) -> CommitCommentEvent
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 CommitCommentEvent
impl Debug for CommitCommentEvent
Source§impl<'de> Deserialize<'de> for CommitCommentEvent
impl<'de> Deserialize<'de> for CommitCommentEvent
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<CommitCommentEvent> for Event
impl From<CommitCommentEvent> for Event
Source§fn from(original: CommitCommentEvent) -> Event
fn from(original: CommitCommentEvent) -> Event
Converts to this type from the input type.
Source§impl Hash for CommitCommentEvent
impl Hash for CommitCommentEvent
Source§impl Ord for CommitCommentEvent
impl Ord for CommitCommentEvent
Source§fn cmp(&self, other: &CommitCommentEvent) -> Ordering
fn cmp(&self, other: &CommitCommentEvent) -> 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 CommitCommentEvent
impl PartialEq for CommitCommentEvent
Source§impl PartialOrd for CommitCommentEvent
impl PartialOrd for CommitCommentEvent
impl Eq for CommitCommentEvent
impl StructuralPartialEq for CommitCommentEvent
Auto Trait Implementations§
impl Freeze for CommitCommentEvent
impl RefUnwindSafe for CommitCommentEvent
impl Send for CommitCommentEvent
impl Sync for CommitCommentEvent
impl Unpin for CommitCommentEvent
impl UnwindSafe for CommitCommentEvent
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