pub enum PullRequestReviewRequestRemoved {
Variant0 {
action: PullRequestReviewRequestRemovedVariant0Action,
installation: Option<InstallationLite>,
number: i64,
organization: Option<Organization>,
pull_request: PullRequest,
repository: Repository,
requested_reviewer: User,
sender: User,
},
Variant1 {
action: PullRequestReviewRequestRemovedVariant1Action,
installation: Option<InstallationLite>,
number: i64,
organization: Option<Organization>,
pull_request: PullRequest,
repository: Repository,
requested_team: Team,
sender: User,
},
}
Expand description
PullRequestReviewRequestRemoved
JSON schema
{
"title": "pull_request review_request_removed event",
"oneOf": [
{
"type": "object",
"required": [
"action",
"number",
"pull_request",
"repository",
"requested_reviewer",
"sender"
],
"properties": {
"action": {
"type": "string",
"enum": [
"review_request_removed"
]
},
"installation": {
"$ref": "#/definitions/installation-lite"
},
"number": {
"description": "The pull request number.",
"type": "integer"
},
"organization": {
"$ref": "#/definitions/organization"
},
"pull_request": {
"$ref": "#/definitions/pull-request"
},
"repository": {
"$ref": "#/definitions/repository"
},
"requested_reviewer": {
"$ref": "#/definitions/user"
},
"sender": {
"$ref": "#/definitions/user"
}
},
"additionalProperties": false
},
{
"type": "object",
"required": [
"action",
"number",
"pull_request",
"repository",
"requested_team",
"sender"
],
"properties": {
"action": {
"type": "string",
"enum": [
"review_request_removed"
]
},
"installation": {
"$ref": "#/definitions/installation-lite"
},
"number": {
"description": "The pull request number.",
"type": "integer"
},
"organization": {
"$ref": "#/definitions/organization"
},
"pull_request": {
"$ref": "#/definitions/pull-request"
},
"repository": {
"$ref": "#/definitions/repository"
},
"requested_team": {
"$ref": "#/definitions/team"
},
"sender": {
"$ref": "#/definitions/user"
}
},
"additionalProperties": false
}
],
"$schema": "http://json-schema.org/draft-07/schema"
}
Variants§
Variant0
Fields
§
installation: Option<InstallationLite>
§
organization: Option<Organization>
§
pull_request: PullRequest
§
repository: Repository
Variant1
Fields
§
installation: Option<InstallationLite>
§
organization: Option<Organization>
§
pull_request: PullRequest
§
repository: Repository
Trait Implementations§
Source§impl Clone for PullRequestReviewRequestRemoved
impl Clone for PullRequestReviewRequestRemoved
Source§fn clone(&self) -> PullRequestReviewRequestRemoved
fn clone(&self) -> PullRequestReviewRequestRemoved
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<'de> Deserialize<'de> for PullRequestReviewRequestRemoved
impl<'de> Deserialize<'de> for PullRequestReviewRequestRemoved
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<&PullRequestReviewRequestRemoved> for PullRequestReviewRequestRemoved
impl From<&PullRequestReviewRequestRemoved> for PullRequestReviewRequestRemoved
Source§fn from(value: &PullRequestReviewRequestRemoved) -> Self
fn from(value: &PullRequestReviewRequestRemoved) -> Self
Converts to this type from the input type.
Source§impl From<PullRequestReviewRequestRemoved> for PullRequestEvent
impl From<PullRequestReviewRequestRemoved> for PullRequestEvent
Source§fn from(value: PullRequestReviewRequestRemoved) -> Self
fn from(value: PullRequestReviewRequestRemoved) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for PullRequestReviewRequestRemoved
impl RefUnwindSafe for PullRequestReviewRequestRemoved
impl Send for PullRequestReviewRequestRemoved
impl Sync for PullRequestReviewRequestRemoved
impl Unpin for PullRequestReviewRequestRemoved
impl UnwindSafe for PullRequestReviewRequestRemoved
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