pub struct RuleToc {
pub chapter_list: String,
pub chapter_name: String,
pub chapter_url: String,
}
Fields§
§chapter_list: String
§chapter_name: String
§chapter_url: String
Implementations§
Source§impl RuleToc
impl RuleToc
pub fn parse_to_chapter( &self, analyzer: &mut AnalyzerManager, content: &str, ) -> Result<Chapter>
Trait Implementations§
Source§impl<'de> Deserialize<'de> for RuleToc
impl<'de> Deserialize<'de> for RuleToc
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 RuleToc
impl RefUnwindSafe for RuleToc
impl Send for RuleToc
impl Sync for RuleToc
impl Unpin for RuleToc
impl UnwindSafe for RuleToc
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