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