pub enum ActionEvent {
Show 16 variants
ItemIngested {
item: PendingItem,
},
ItemSelected {
item_id: Uuid,
action: Action,
},
ItemExpired {
item_id: Uuid,
},
TaskEnqueued {
task: Task,
},
TaskStarted {
task_id: Uuid,
},
TaskStepUpdated {
task_id: Uuid,
step: TaskStep,
},
TaskPaused {
task_id: Uuid,
reason: String,
},
TaskResumed {
task_id: Uuid,
},
TaskCompleted {
task_id: Uuid,
outcome: TaskOutcome,
},
TaskCancelled {
task_id: Uuid,
},
DeletionPending {
entry: TrashEntry,
},
DeletionCancelled {
entry_id: Uuid,
},
TrashCreated {
entry: TrashEntry,
},
TrashRestored {
entry_id: Uuid,
},
TrashExpired {
entry_id: Uuid,
},
TrashPermDeleted {
entry_id: Uuid,
reason: PermDeleteReason,
},
}Variants§
ItemIngested
Fields
§
item: PendingItemItemSelected
ItemExpired
TaskEnqueued
TaskStarted
TaskStepUpdated
TaskPaused
TaskResumed
TaskCompleted
TaskCancelled
DeletionPending
Fields
§
entry: TrashEntryDeletionCancelled
TrashCreated
Fields
§
entry: TrashEntryTrashRestored
TrashExpired
TrashPermDeleted
Trait Implementations§
Source§impl Clone for ActionEvent
impl Clone for ActionEvent
Source§fn clone(&self) -> ActionEvent
fn clone(&self) -> ActionEvent
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 ActionEvent
impl Debug for ActionEvent
Source§impl<'de> Deserialize<'de> for ActionEvent
impl<'de> Deserialize<'de> for ActionEvent
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 PartialEq for ActionEvent
impl PartialEq for ActionEvent
Source§fn eq(&self, other: &ActionEvent) -> bool
fn eq(&self, other: &ActionEvent) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for ActionEvent
impl Serialize for ActionEvent
impl StructuralPartialEq for ActionEvent
Auto Trait Implementations§
impl Freeze for ActionEvent
impl RefUnwindSafe for ActionEvent
impl Send for ActionEvent
impl Sync for ActionEvent
impl Unpin for ActionEvent
impl UnsafeUnpin for ActionEvent
impl UnwindSafe for ActionEvent
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