pub struct FlatOutlineEntry {
pub title: String,
pub page: Option<String>,
pub level: u8,
pub entry_type: Option<String>,
pub path: Vec<String>,
}Expand description
A flattened representation of a Outline entry with full hierarchical path
Fields§
§title: String§page: Option<String>§level: u8§entry_type: Option<String>§path: Vec<String>Full path from root to this entry (e.g., [“Part I”, “Chapter 1”, “Section 1.1”])
Trait Implementations§
Source§impl Clone for FlatOutlineEntry
impl Clone for FlatOutlineEntry
Source§fn clone(&self) -> FlatOutlineEntry
fn clone(&self) -> FlatOutlineEntry
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for FlatOutlineEntry
impl Debug for FlatOutlineEntry
Source§impl<'de> Deserialize<'de> for FlatOutlineEntry
impl<'de> Deserialize<'de> for FlatOutlineEntry
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 FlatOutlineEntry
impl RefUnwindSafe for FlatOutlineEntry
impl Send for FlatOutlineEntry
impl Sync for FlatOutlineEntry
impl Unpin for FlatOutlineEntry
impl UnsafeUnpin for FlatOutlineEntry
impl UnwindSafe for FlatOutlineEntry
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