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