pub struct ShowNoteLines {Show 14 fields
pub selector: String,
pub path: String,
pub kind: DocumentKind,
pub total_lines: u32,
pub offset: u32,
pub limit: u32,
pub next_offset: Option<u32>,
pub lines: Vec<NoteLine>,
pub title: Option<String>,
pub tags: Vec<String>,
pub body_fingerprint: Fingerprint,
pub eol: Option<LineEol>,
pub has_final_eol: bool,
pub numeric_id: Option<u32>,
}Expand description
Windowed body-line listing with a document-level EOL declaration.
Fields§
§selector: String§path: String§kind: DocumentKind§total_lines: u32§offset: u32§limit: u32§next_offset: Option<u32>§lines: Vec<NoteLine>§title: Option<String>§body_fingerprint: Fingerprint§eol: Option<LineEol>First-supported-EOL declaration; None for empty / single-line-no-EOL
/ CR-only bodies.
has_final_eol: boolWhether the body ends with eol bytes.
numeric_id: Option<u32>Numeric .index id when resolvable via .index scan.
Trait Implementations§
Source§impl Clone for ShowNoteLines
impl Clone for ShowNoteLines
Source§impl Debug for ShowNoteLines
impl Debug for ShowNoteLines
Source§impl<'de> Deserialize<'de> for ShowNoteLines
impl<'de> Deserialize<'de> for ShowNoteLines
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 ShowNoteLines
Source§impl PartialEq for ShowNoteLines
impl PartialEq for ShowNoteLines
Source§impl Serialize for ShowNoteLines
impl Serialize for ShowNoteLines
impl StructuralPartialEq for ShowNoteLines
Auto Trait Implementations§
impl Freeze for ShowNoteLines
impl RefUnwindSafe for ShowNoteLines
impl Send for ShowNoteLines
impl Sync for ShowNoteLines
impl Unpin for ShowNoteLines
impl UnsafeUnpin for ShowNoteLines
impl UnwindSafe for ShowNoteLines
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