pub struct TrashedDocument {
pub id: String,
pub title: Option<String>,
pub page_count: Option<i64>,
pub inserted_at: String,
pub trashed_at: String,
pub permanently_delete_at: String,
}Expand description
One row from GET /api/documents/trash.
Fields§
§id: String§title: Option<String>§page_count: Option<i64>§inserted_at: StringISO 8601 UTC timestamp of when the document was created.
trashed_at: StringISO 8601 UTC timestamp of when the document was moved to the trash.
permanently_delete_at: StringISO 8601 UTC timestamp of when the document will be permanently deleted if it isn’t recovered first.
Trait Implementations§
Source§impl Clone for TrashedDocument
impl Clone for TrashedDocument
Source§impl Debug for TrashedDocument
impl Debug for TrashedDocument
Source§impl<'de> Deserialize<'de> for TrashedDocument
impl<'de> Deserialize<'de> for TrashedDocument
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
Auto Trait Implementations§
impl Forget for TrashedDocument
impl Freeze for TrashedDocument
impl RefUnwindSafe for TrashedDocument
impl Send for TrashedDocument
impl Sync for TrashedDocument
impl Unpin for TrashedDocument
impl UnsafeUnpin for TrashedDocument
impl UnwindSafe for TrashedDocument
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