pub struct PlanSection {
pub id: String,
pub heading: String,
pub level: u8,
pub line_start: usize,
pub line_end: usize,
pub parent_id: Option<String>,
pub anchor_terms: Vec<String>,
}Fields§
§id: String§heading: String§level: u8§line_start: usize§line_end: usize§parent_id: Option<String>§anchor_terms: Vec<String>Trait Implementations§
Source§impl Clone for PlanSection
impl Clone for PlanSection
Source§fn clone(&self) -> PlanSection
fn clone(&self) -> PlanSection
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 PlanSection
impl Debug for PlanSection
Source§impl<'de> Deserialize<'de> for PlanSection
impl<'de> Deserialize<'de> for PlanSection
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
Source§impl PartialEq for PlanSection
impl PartialEq for PlanSection
Source§fn eq(&self, other: &PlanSection) -> bool
fn eq(&self, other: &PlanSection) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for PlanSection
impl Serialize for PlanSection
impl StructuralPartialEq for PlanSection
Auto Trait Implementations§
impl Freeze for PlanSection
impl RefUnwindSafe for PlanSection
impl Send for PlanSection
impl Sync for PlanSection
impl Unpin for PlanSection
impl UnsafeUnpin for PlanSection
impl UnwindSafe for PlanSection
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