pub enum PullRequestReviewEvent {
Dismissed(PullRequestReviewDismissed),
Edited(PullRequestReviewEdited),
Submitted(PullRequestReviewSubmitted),
}
Expand description
PullRequestReviewEvent
JSON schema
{
"oneOf": [
{
"$ref": "#/definitions/pull_request_review$dismissed"
},
{
"$ref": "#/definitions/pull_request_review$edited"
},
{
"$ref": "#/definitions/pull_request_review$submitted"
}
]
}
Variants§
Dismissed(PullRequestReviewDismissed)
Edited(PullRequestReviewEdited)
Submitted(PullRequestReviewSubmitted)
Trait Implementations§
Source§impl Clone for PullRequestReviewEvent
impl Clone for PullRequestReviewEvent
Source§fn clone(&self) -> PullRequestReviewEvent
fn clone(&self) -> PullRequestReviewEvent
Returns a duplicate 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 PullRequestReviewEvent
impl From<&PullRequestReviewEvent> for PullRequestReviewEvent
Source§fn from(value: &PullRequestReviewEvent) -> Self
fn from(value: &PullRequestReviewEvent) -> Self
Converts to this type from the input type.
Source§impl From<PullRequestReviewDismissed> for PullRequestReviewEvent
impl From<PullRequestReviewDismissed> for PullRequestReviewEvent
Source§fn from(value: PullRequestReviewDismissed) -> Self
fn from(value: PullRequestReviewDismissed) -> Self
Converts to this type from the input type.
Source§impl From<PullRequestReviewEdited> for PullRequestReviewEvent
impl From<PullRequestReviewEdited> for PullRequestReviewEvent
Source§fn from(value: PullRequestReviewEdited) -> Self
fn from(value: PullRequestReviewEdited) -> Self
Converts to this type from the input type.
Source§impl From<PullRequestReviewSubmitted> for PullRequestReviewEvent
impl From<PullRequestReviewSubmitted> for PullRequestReviewEvent
Source§fn from(value: PullRequestReviewSubmitted) -> Self
fn from(value: PullRequestReviewSubmitted) -> Self
Converts to this type from the input type.
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