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