pub struct ShowNote {Show 13 fields
pub selector: String,
pub path: String,
pub kind: DocumentKind,
pub todo_state: Option<TodoState>,
pub title: Option<String>,
pub title_text: Option<String>,
pub tags: Vec<String>,
pub body_fragments: Vec<BodyFragment>,
pub body_contiguous: bool,
pub body: String,
pub fingerprint: Fingerprint,
pub source: String,
pub numeric_id: Option<u32>,
}Expand description
Structured show_note result.
Fields§
§selector: String§path: String§kind: DocumentKind§todo_state: Option<TodoState>§title: Option<String>Full raw title line including trailing newline, as UTF-8.
title_text: Option<String>§body_fragments: Vec<BodyFragment>§body_contiguous: boolDerivable (body_fragments.len() <= 1); kept for wire convenience.
body: StringConcatenated body-fragment bytes (excludes title H1 + tags).
fingerprint: Fingerprint§source: StringFull file bytes verbatim, as UTF-8.
numeric_id: Option<u32>Numeric .index id when resolvable via .index scan.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for ShowNote
impl<'de> Deserialize<'de> for ShowNote
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
impl Eq for ShowNote
impl StructuralPartialEq for ShowNote
Auto Trait Implementations§
impl Forget for ShowNote
impl Freeze for ShowNote
impl Move for ShowNote
impl RefUnwindSafe for ShowNote
impl Send for ShowNote
impl Sync for ShowNote
impl Unpin for ShowNote
impl UnsafeUnpin for ShowNote
impl UnwindSafe for ShowNote
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.