pub enum EventType {
Show 16 variants
TaskCreated {
task_id: Uuid,
},
TaskUpdated {
task_id: Uuid,
},
TaskDeleted {
task_id: Uuid,
},
TaskCompleted {
task_id: Uuid,
},
TaskCancelled {
task_id: Uuid,
},
ProjectCreated {
project_id: Uuid,
},
ProjectUpdated {
project_id: Uuid,
},
ProjectDeleted {
project_id: Uuid,
},
ProjectCompleted {
project_id: Uuid,
},
AreaCreated {
area_id: Uuid,
},
AreaUpdated {
area_id: Uuid,
},
AreaDeleted {
area_id: Uuid,
},
ProgressStarted {
operation_id: Uuid,
},
ProgressUpdated {
operation_id: Uuid,
},
ProgressCompleted {
operation_id: Uuid,
},
ProgressFailed {
operation_id: Uuid,
},
}Expand description
Event types for Things 3 entities
Variants§
TaskCreated
Task events
TaskUpdated
TaskDeleted
TaskCompleted
TaskCancelled
ProjectCreated
Project events
ProjectUpdated
ProjectDeleted
ProjectCompleted
AreaCreated
Area events
AreaUpdated
AreaDeleted
ProgressStarted
Progress events
ProgressUpdated
ProgressCompleted
ProgressFailed
Trait Implementations§
Source§impl<'de> Deserialize<'de> for EventType
impl<'de> Deserialize<'de> for EventType
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
impl StructuralPartialEq for EventType
Auto Trait Implementations§
impl Freeze for EventType
impl RefUnwindSafe for EventType
impl Send for EventType
impl Sync for EventType
impl Unpin for EventType
impl UnwindSafe for EventType
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more