pub struct TrashedAsset {
pub rowid: i64,
pub filename: Option<String>,
pub directory: Option<String>,
pub trashed_at: Option<DateTime<Utc>>,
}Expand description
A single iOS Photos asset currently in “Recently Deleted”.
Fields§
§rowid: i64The asset’s primary key (Z_PK / row id).
filename: Option<String>The on-disk filename (ZFILENAME), if recorded.
directory: Option<String>The asset’s directory within the library (ZDIRECTORY), if recorded.
trashed_at: Option<DateTime<Utc>>When the asset was trashed (ZTRASHEDDATE converted to UTC), or None
when the column is NULL/zero.
Trait Implementations§
Source§impl Clone for TrashedAsset
impl Clone for TrashedAsset
Source§fn clone(&self) -> TrashedAsset
fn clone(&self) -> TrashedAsset
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 TrashedAsset
impl Debug for TrashedAsset
impl Eq for TrashedAsset
Source§impl PartialEq for TrashedAsset
impl PartialEq for TrashedAsset
Source§fn eq(&self, other: &TrashedAsset) -> bool
fn eq(&self, other: &TrashedAsset) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for TrashedAsset
Auto Trait Implementations§
impl Freeze for TrashedAsset
impl RefUnwindSafe for TrashedAsset
impl Send for TrashedAsset
impl Sync for TrashedAsset
impl Unpin for TrashedAsset
impl UnsafeUnpin for TrashedAsset
impl UnwindSafe for TrashedAsset
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