pub struct PullRequestReviewEvent {
pub action: PullRequestReviewAction,
pub review: Review,
pub changes: Option<PullRequestReviewChanges>,
pub pull_request: PullRequest,
pub repository: Repository,
pub sender: User,
pub installation: Option<InstallationId>,
}
Fields§
§action: PullRequestReviewAction
The action that was performed.
review: Review
The review that was affected.
changes: Option<PullRequestReviewChanges>
Changes to the review if the action is Edited
.
pull_request: PullRequest
The pull request itself.
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 PullRequestReviewEvent
impl AppEvent for PullRequestReviewEvent
Source§fn installation(&self) -> Option<u64>
fn installation(&self) -> Option<u64>
Returns the installation ID for the event.
Source§impl Clone for PullRequestReviewEvent
impl Clone for PullRequestReviewEvent
Source§fn clone(&self) -> PullRequestReviewEvent
fn clone(&self) -> PullRequestReviewEvent
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 PullRequestReviewEvent
impl Debug for PullRequestReviewEvent
Source§impl<'de> Deserialize<'de> for PullRequestReviewEvent
impl<'de> Deserialize<'de> for PullRequestReviewEvent
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<PullRequestReviewEvent> for Event
impl From<PullRequestReviewEvent> for Event
Source§fn from(original: PullRequestReviewEvent) -> Event
fn from(original: PullRequestReviewEvent) -> Event
Converts to this type from the input type.
Source§impl Hash for PullRequestReviewEvent
impl Hash for PullRequestReviewEvent
Source§impl Ord for PullRequestReviewEvent
impl Ord for PullRequestReviewEvent
Source§fn cmp(&self, other: &PullRequestReviewEvent) -> Ordering
fn cmp(&self, other: &PullRequestReviewEvent) -> 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 PullRequestReviewEvent
impl PartialEq for PullRequestReviewEvent
Source§impl PartialOrd for PullRequestReviewEvent
impl PartialOrd for PullRequestReviewEvent
impl Eq for PullRequestReviewEvent
impl StructuralPartialEq for PullRequestReviewEvent
Auto Trait Implementations§
impl Freeze for PullRequestReviewEvent
impl RefUnwindSafe for PullRequestReviewEvent
impl Send for PullRequestReviewEvent
impl Sync for PullRequestReviewEvent
impl Unpin for PullRequestReviewEvent
impl UnwindSafe for PullRequestReviewEvent
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