pub struct TableOfContents {
pub html: Option<String>,
pub sections: Vec<ToCSection>,
}
Fields§
§html: Option<String>
§sections: Vec<ToCSection>
Trait Implementations§
Source§impl Clone for TableOfContents
impl Clone for TableOfContents
Source§fn clone(&self) -> TableOfContents
fn clone(&self) -> TableOfContents
Returns a copy of the value. Read more
1.0.0 · 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 TableOfContents
impl Debug for TableOfContents
Source§impl<'de> Deserialize<'de> for TableOfContents
impl<'de> Deserialize<'de> for TableOfContents
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 IsScalar<JSON> for TableOfContents
impl IsScalar<JSON> for TableOfContents
Source§type SchemaType = JSON
type SchemaType = JSON
The schema marker type this scalar represents.
Source§impl Serialize for TableOfContents
impl Serialize for TableOfContents
Source§impl Variable for TableOfContents
impl Variable for TableOfContents
const TYPE: VariableType
impl CoercesTo<JSON> for TableOfContents
Auto Trait Implementations§
impl Freeze for TableOfContents
impl RefUnwindSafe for TableOfContents
impl Send for TableOfContents
impl Sync for TableOfContents
impl Unpin for TableOfContents
impl UnwindSafe for TableOfContents
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