pub enum MilestoneEvent {
Closed(MilestoneClosed),
Created(MilestoneCreated),
Deleted(MilestoneDeleted),
Edited(MilestoneEdited),
Opened(MilestoneOpened),
}
Expand description
MilestoneEvent
JSON schema
{
"oneOf": [
{
"$ref": "#/definitions/milestone$closed"
},
{
"$ref": "#/definitions/milestone$created"
},
{
"$ref": "#/definitions/milestone$deleted"
},
{
"$ref": "#/definitions/milestone$edited"
},
{
"$ref": "#/definitions/milestone$opened"
}
]
}
Variants§
Closed(MilestoneClosed)
Created(MilestoneCreated)
Deleted(MilestoneDeleted)
Edited(MilestoneEdited)
Opened(MilestoneOpened)
Trait Implementations§
Source§impl Clone for MilestoneEvent
impl Clone for MilestoneEvent
Source§fn clone(&self) -> MilestoneEvent
fn clone(&self) -> MilestoneEvent
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 MilestoneEvent
impl Debug for MilestoneEvent
Source§impl<'de> Deserialize<'de> for MilestoneEvent
impl<'de> Deserialize<'de> for MilestoneEvent
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<&MilestoneEvent> for MilestoneEvent
impl From<&MilestoneEvent> for MilestoneEvent
Source§fn from(value: &MilestoneEvent) -> Self
fn from(value: &MilestoneEvent) -> Self
Converts to this type from the input type.
Source§impl From<MilestoneClosed> for MilestoneEvent
impl From<MilestoneClosed> for MilestoneEvent
Source§fn from(value: MilestoneClosed) -> Self
fn from(value: MilestoneClosed) -> Self
Converts to this type from the input type.
Source§impl From<MilestoneCreated> for MilestoneEvent
impl From<MilestoneCreated> for MilestoneEvent
Source§fn from(value: MilestoneCreated) -> Self
fn from(value: MilestoneCreated) -> 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 From<MilestoneEdited> for MilestoneEvent
impl From<MilestoneEdited> for MilestoneEvent
Source§fn from(value: MilestoneEdited) -> Self
fn from(value: MilestoneEdited) -> Self
Converts to this type from the input type.
Source§impl From<MilestoneOpened> for MilestoneEvent
impl From<MilestoneOpened> for MilestoneEvent
Source§fn from(value: MilestoneOpened) -> Self
fn from(value: MilestoneOpened) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for MilestoneEvent
impl RefUnwindSafe for MilestoneEvent
impl Send for MilestoneEvent
impl Sync for MilestoneEvent
impl Unpin for MilestoneEvent
impl UnwindSafe for MilestoneEvent
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