pub struct Document {Show 16 fields
pub id: u64,
pub title: String,
pub content: String,
pub tags: Vec<u64>,
pub document_type: Option<String>,
pub correspondent: Option<String>,
pub created: String,
pub created_date: Option<String>,
pub modified: Option<String>,
pub added: String,
pub archive_serial_number: Option<String>,
pub original_file_name: String,
pub archived_file_name: Option<String>,
pub notes: Vec<String>,
pub custom_fields: Vec<Field>,
pub search_hit: Option<SearchHit>,
}Fields§
§id: u64§title: String§content: String§document_type: Option<String>§correspondent: Option<String>§created: String§created_date: Option<String>§modified: Option<String>§added: String§archive_serial_number: Option<String>§original_file_name: String§archived_file_name: Option<String>§notes: Vec<String>§custom_fields: Vec<Field>§search_hit: Option<SearchHit>Trait Implementations§
Source§impl<'de> Deserialize<'de> for Document
impl<'de> Deserialize<'de> for Document
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 Freeze for Document
impl RefUnwindSafe for Document
impl Send for Document
impl Sync for Document
impl Unpin for Document
impl UnwindSafe for Document
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