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