pub struct ArchivedDocument {
pub document_id: String,
pub document_type: DocumentType,
pub original_path: PathBuf,
pub archived_path: PathBuf,
}
Expand description
Information about an archived document
Fields§
§document_id: String
§document_type: DocumentType
§original_path: PathBuf
§archived_path: PathBuf
Trait Implementations§
Auto Trait Implementations§
impl Freeze for ArchivedDocument
impl RefUnwindSafe for ArchivedDocument
impl Send for ArchivedDocument
impl Sync for ArchivedDocument
impl Unpin for ArchivedDocument
impl UnwindSafe for ArchivedDocument
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
Source§impl<T> IntoSql for T
impl<T> IntoSql for T
Source§fn into_sql<T>(self) -> Self::Expression
fn into_sql<T>(self) -> Self::Expression
Convert
self
to an expression for Diesel’s query builder. Read moreSource§fn as_sql<'a, T>(&'a self) -> <&'a Self as AsExpression<T>>::Expression
fn as_sql<'a, T>(&'a self) -> <&'a Self as AsExpression<T>>::Expression
Convert
&self
to an expression for Diesel’s query builder. Read more