pub struct PullRequestDequeued {
pub action: PullRequestDequeuedAction,
pub installation: Option<InstallationLite>,
pub number: i64,
pub organization: Option<Organization>,
pub pull_request: PullRequest,
pub reason: String,
pub repository: Repository,
pub sender: User,
}
Expand description
PullRequestDequeued
JSON schema
{
"title": "pull_request dequeued event",
"type": "object",
"required": [
"action",
"number",
"pull_request",
"reason",
"repository",
"sender"
],
"properties": {
"action": {
"type": "string",
"enum": [
"dequeued"
]
},
"installation": {
"$ref": "#/definitions/installation-lite"
},
"number": {
"description": "The pull request number.",
"type": "integer"
},
"organization": {
"$ref": "#/definitions/organization"
},
"pull_request": {
"$ref": "#/definitions/pull-request"
},
"reason": {
"description": "The reason the pull request was removed from a merge queue.",
"type": "string"
},
"repository": {
"$ref": "#/definitions/repository"
},
"sender": {
"$ref": "#/definitions/user"
}
},
"additionalProperties": false,
"$schema": "http://json-schema.org/draft-07/schema"
}
Fields§
§action: PullRequestDequeuedAction
§installation: Option<InstallationLite>
§number: i64
The pull request number.
organization: Option<Organization>
§pull_request: PullRequest
§reason: String
The reason the pull request was removed from a merge queue.
repository: Repository
§sender: User
Implementations§
Source§impl PullRequestDequeued
impl PullRequestDequeued
pub fn builder() -> PullRequestDequeued
Trait Implementations§
Source§impl Clone for PullRequestDequeued
impl Clone for PullRequestDequeued
Source§fn clone(&self) -> PullRequestDequeued
fn clone(&self) -> PullRequestDequeued
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 PullRequestDequeued
impl Debug for PullRequestDequeued
Source§impl<'de> Deserialize<'de> for PullRequestDequeued
impl<'de> Deserialize<'de> for PullRequestDequeued
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<&PullRequestDequeued> for PullRequestDequeued
impl From<&PullRequestDequeued> for PullRequestDequeued
Source§fn from(value: &PullRequestDequeued) -> Self
fn from(value: &PullRequestDequeued) -> Self
Converts to this type from the input type.
Source§impl From<PullRequestDequeued> for PullRequestDequeued
impl From<PullRequestDequeued> for PullRequestDequeued
Source§fn from(value: PullRequestDequeued) -> Self
fn from(value: PullRequestDequeued) -> Self
Converts to this type from the input type.
Source§impl From<PullRequestDequeued> for PullRequestEvent
impl From<PullRequestDequeued> for PullRequestEvent
Source§fn from(value: PullRequestDequeued) -> Self
fn from(value: PullRequestDequeued) -> Self
Converts to this type from the input type.
Source§impl Serialize for PullRequestDequeued
impl Serialize for PullRequestDequeued
Auto Trait Implementations§
impl Freeze for PullRequestDequeued
impl RefUnwindSafe for PullRequestDequeued
impl Send for PullRequestDequeued
impl Sync for PullRequestDequeued
impl Unpin for PullRequestDequeued
impl UnwindSafe for PullRequestDequeued
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