1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
//! Soft delete and restore traits for items.
use async_trait;
use Path;
use crateStoreError;
use crateItemId;
use ItemCrud;
/// Trait for items that support soft deletion.
///
/// Soft deletion marks an item as deleted without removing it from storage,
/// allowing for restoration later.
/// Trait for items that can be restored after soft deletion.