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