pub struct PullRequestReopened {
pub action: PullRequestReopenedAction,
pub installation: Option<InstallationLite>,
pub number: i64,
pub organization: Option<Organization>,
pub pull_request: PullRequestReopenedPullRequest,
pub repository: Repository,
pub sender: User,
}
Expand description
PullRequestReopened
JSON schema
{
"title": "pull_request reopened event",
"type": "object",
"required": [
"action",
"number",
"pull_request",
"repository",
"sender"
],
"properties": {
"action": {
"type": "string",
"enum": [
"reopened"
]
},
"installation": {
"$ref": "#/definitions/installation-lite"
},
"number": {
"description": "The pull request number.",
"type": "integer"
},
"organization": {
"$ref": "#/definitions/organization"
},
"pull_request": {
"allOf": [
{
"$ref": "#/definitions/pull-request"
},
{
"type": "object",
"required": [
"closed_at",
"merged",
"merged_at",
"merged_by",
"state"
],
"properties": {
"closed_at": {
"type": "null"
},
"merged": {
"type": "boolean"
},
"merged_at": {
"type": "null"
},
"merged_by": {
"type": "null"
},
"state": {
"type": "string",
"enum": [
"open"
]
}
},
"tsAdditionalProperties": false
}
]
},
"repository": {
"$ref": "#/definitions/repository"
},
"sender": {
"$ref": "#/definitions/user"
}
},
"additionalProperties": false,
"$schema": "http://json-schema.org/draft-07/schema"
}
Fields§
§action: PullRequestReopenedAction
§installation: Option<InstallationLite>
§number: i64
The pull request number.
organization: Option<Organization>
§pull_request: PullRequestReopenedPullRequest
§repository: Repository
§sender: User
Implementations§
Source§impl PullRequestReopened
impl PullRequestReopened
pub fn builder() -> PullRequestReopened
Trait Implementations§
Source§impl Clone for PullRequestReopened
impl Clone for PullRequestReopened
Source§fn clone(&self) -> PullRequestReopened
fn clone(&self) -> PullRequestReopened
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 PullRequestReopened
impl Debug for PullRequestReopened
Source§impl<'de> Deserialize<'de> for PullRequestReopened
impl<'de> Deserialize<'de> for PullRequestReopened
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<&PullRequestReopened> for PullRequestReopened
impl From<&PullRequestReopened> for PullRequestReopened
Source§fn from(value: &PullRequestReopened) -> Self
fn from(value: &PullRequestReopened) -> Self
Converts to this type from the input type.
Source§impl From<PullRequestReopened> for PullRequestEvent
impl From<PullRequestReopened> for PullRequestEvent
Source§fn from(value: PullRequestReopened) -> Self
fn from(value: PullRequestReopened) -> Self
Converts to this type from the input type.
Source§impl From<PullRequestReopened> for PullRequestReopened
impl From<PullRequestReopened> for PullRequestReopened
Source§fn from(value: PullRequestReopened) -> Self
fn from(value: PullRequestReopened) -> Self
Converts to this type from the input type.
Source§impl Serialize for PullRequestReopened
impl Serialize for PullRequestReopened
Auto Trait Implementations§
impl Freeze for PullRequestReopened
impl RefUnwindSafe for PullRequestReopened
impl Send for PullRequestReopened
impl Sync for PullRequestReopened
impl Unpin for PullRequestReopened
impl UnwindSafe for PullRequestReopened
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