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