pub struct DocumentRow {
pub id: String,
pub entry_id: String,
pub title: String,
pub note: Option<String>,
pub published: bool,
pub score: String,
pub previous_score: Option<String>,
pub priority: Option<String>,
pub entry: Option<EntryRow>,
}Expand description
A document and its optionally included entry.
Fields§
§id: StringPrimary key as a decimal string.
entry_id: StringPrimary key of the referenced entry as a decimal string.
title: StringDocument title.
note: Option<String>Optional document note.
published: boolWhether the document is published.
score: StringCurrent score as a decimal string.
previous_score: Option<String>Previous score, when recorded.
priority: Option<String>Priority, when assigned.
entry: Option<EntryRow>Referenced entry when requested.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for DocumentRow
impl<'de> Deserialize<'de> for DocumentRow
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 DocumentRow
impl Freeze for DocumentRow
impl Move for DocumentRow
impl RefUnwindSafe for DocumentRow
impl Send for DocumentRowwhere
RawVecInner: Send,
impl Sync for DocumentRowwhere
RawVecInner: Sync,
impl Unpin for DocumentRow
impl UnsafeUnpin for DocumentRow
impl UnwindSafe for DocumentRowwhere
RawVecInner: UnwindSafe,
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