pub struct PullRequestReviewCommentEvent {
pub action: PullRequestReviewCommentAction,
pub changes: Option<PullRequestReviewCommentChanges>,
pub pull_request: PullRequest,
pub repository: Repository,
pub comment: Comment,
pub sender: User,
pub installation: Option<InstallationId>,
}
Fields§
§action: PullRequestReviewCommentAction
§changes: Option<PullRequestReviewCommentChanges>
The changes to the comment if the action was Edited
.
pull_request: PullRequest
The pull request itself.
repository: Repository
The repository associated with this event.
comment: Comment
The comment in question.
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 PullRequestReviewCommentEvent
impl AppEvent for PullRequestReviewCommentEvent
Source§fn installation(&self) -> Option<u64>
fn installation(&self) -> Option<u64>
Returns the installation ID for the event.
Source§impl Clone for PullRequestReviewCommentEvent
impl Clone for PullRequestReviewCommentEvent
Source§fn clone(&self) -> PullRequestReviewCommentEvent
fn clone(&self) -> PullRequestReviewCommentEvent
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<'de> Deserialize<'de> for PullRequestReviewCommentEvent
impl<'de> Deserialize<'de> for PullRequestReviewCommentEvent
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<PullRequestReviewCommentEvent> for Event
impl From<PullRequestReviewCommentEvent> for Event
Source§fn from(original: PullRequestReviewCommentEvent) -> Event
fn from(original: PullRequestReviewCommentEvent) -> Event
Converts to this type from the input type.
Source§impl Hash for PullRequestReviewCommentEvent
impl Hash for PullRequestReviewCommentEvent
Source§impl Ord for PullRequestReviewCommentEvent
impl Ord for PullRequestReviewCommentEvent
Source§fn cmp(&self, other: &PullRequestReviewCommentEvent) -> Ordering
fn cmp(&self, other: &PullRequestReviewCommentEvent) -> 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 PullRequestReviewCommentEvent
impl PartialEq for PullRequestReviewCommentEvent
Source§fn eq(&self, other: &PullRequestReviewCommentEvent) -> bool
fn eq(&self, other: &PullRequestReviewCommentEvent) -> bool
Tests for
self
and other
values to be equal, and is used by ==
.Source§impl PartialOrd for PullRequestReviewCommentEvent
impl PartialOrd for PullRequestReviewCommentEvent
impl Eq for PullRequestReviewCommentEvent
impl StructuralPartialEq for PullRequestReviewCommentEvent
Auto Trait Implementations§
impl Freeze for PullRequestReviewCommentEvent
impl RefUnwindSafe for PullRequestReviewCommentEvent
impl Send for PullRequestReviewCommentEvent
impl Sync for PullRequestReviewCommentEvent
impl Unpin for PullRequestReviewCommentEvent
impl UnwindSafe for PullRequestReviewCommentEvent
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