pub struct Optional {
pub path: PathBuf,
pub title: Option<String>,
pub description: Option<String>,
}Expand description
A file that is not a chapter, listed under ## Optional: copied from
src/, or llms-full.txt, which this renderer writes.
Fields§
§path: PathBufIts path under src/ and in the output.
title: Option<String>The entry’s link text. Defaults to the file name.
description: Option<String>Text after the link, as a chapter’s description gives.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Optional
impl<'de> Deserialize<'de> for Optional
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 Forget for Optional
impl Freeze for Optional
impl Move for Optional
impl RefUnwindSafe for Optional
impl Send for Optional
impl Sync for Optional
impl Unpin for Optional
impl UnsafeUnpin for Optional
impl UnwindSafe for Optional
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