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