Struct github_rest::model::pull_requests::events::PullRequestReviewEvent
source · pub struct PullRequestReviewEvent {
pub action: PullRequestAction,
pub changes: Option<CommentChanges>,
pub pull_request: PullRequest,
pub review: Value,
pub event_info: RepoEventInfo,
}
Expand description
Fields§
§action: PullRequestAction
§changes: Option<CommentChanges>
§pull_request: PullRequest
§review: Value
§event_info: RepoEventInfo
Trait Implementations§
source§impl AsRef<RepoEventInfo> for PullRequestReviewEvent
impl AsRef<RepoEventInfo> for PullRequestReviewEvent
source§fn as_ref(&self) -> &RepoEventInfo
fn as_ref(&self) -> &RepoEventInfo
Converts this type into a shared reference of the (usually inferred) input type.
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 Deref for PullRequestReviewEvent
impl Deref 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 Event<'_> for PullRequestReviewEvent
impl Event<'_> for PullRequestReviewEvent
source§impl PartialEq<PullRequestReviewEvent> for PullRequestReviewEvent
impl PartialEq<PullRequestReviewEvent> for PullRequestReviewEvent
source§fn eq(&self, other: &PullRequestReviewEvent) -> bool
fn eq(&self, other: &PullRequestReviewEvent) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for PullRequestReviewEvent
impl Serialize for PullRequestReviewEvent
impl StructuralPartialEq for PullRequestReviewEvent
Auto Trait Implementations§
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