pub struct TrashEntry {
pub id: Uuid,
pub original_path: PathBuf,
pub trash_path: Option<PathBuf>,
pub file_size_bytes: u64,
pub created_by_task_id: Uuid,
pub created_at: DateTime<Utc>,
pub execute_at: DateTime<Utc>,
pub retention_until: Option<DateTime<Utc>>,
pub status: TrashStatus,
pub restore_metadata: RestoreMeta,
}Fields§
§id: Uuid§original_path: PathBuf§trash_path: Option<PathBuf>§file_size_bytes: u64§created_by_task_id: Uuid§created_at: DateTime<Utc>§execute_at: DateTime<Utc>§retention_until: Option<DateTime<Utc>>§status: TrashStatus§restore_metadata: RestoreMetaTrait Implementations§
Source§impl Clone for TrashEntry
impl Clone for TrashEntry
Source§fn clone(&self) -> TrashEntry
fn clone(&self) -> TrashEntry
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 TrashEntry
impl Debug for TrashEntry
Source§impl<'de> Deserialize<'de> for TrashEntry
impl<'de> Deserialize<'de> for TrashEntry
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 TrashEntry
impl PartialEq for TrashEntry
Source§fn eq(&self, other: &TrashEntry) -> bool
fn eq(&self, other: &TrashEntry) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for TrashEntry
impl Serialize for TrashEntry
impl StructuralPartialEq for TrashEntry
Auto Trait Implementations§
impl Freeze for TrashEntry
impl RefUnwindSafe for TrashEntry
impl Send for TrashEntry
impl Sync for TrashEntry
impl Unpin for TrashEntry
impl UnsafeUnpin for TrashEntry
impl UnwindSafe for TrashEntry
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