pub struct RuleBookInfo {
pub name: String,
pub author: String,
pub cover_url: String,
pub intro: String,
pub kind: String,
pub last_chapter: String,
pub toc_url: String,
pub word_count: String,
}
Fields§
§name: String
§cover_url: String
§intro: String
§kind: String
§last_chapter: String
§toc_url: String
§word_count: String
Implementations§
Source§impl RuleBookInfo
impl RuleBookInfo
pub fn parse_to_book_info( &self, analyzer: &mut AnalyzerManager, content: &str, ) -> Result<BookInfo>
Trait Implementations§
Source§impl Clone for RuleBookInfo
impl Clone for RuleBookInfo
Source§fn clone(&self) -> RuleBookInfo
fn clone(&self) -> RuleBookInfo
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 RuleBookInfo
impl Debug for RuleBookInfo
Source§impl<'de> Deserialize<'de> for RuleBookInfo
impl<'de> Deserialize<'de> for RuleBookInfo
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 RuleBookInfo
impl RefUnwindSafe for RuleBookInfo
impl Send for RuleBookInfo
impl Sync for RuleBookInfo
impl Unpin for RuleBookInfo
impl UnwindSafe for RuleBookInfo
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