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