pub struct BookSource {Show 15 fields
pub book_source_group: String,
pub book_source_name: String,
pub book_source_url: String,
pub last_update_time: u64,
pub search_url: String,
pub explore_url: Option<String>,
pub rule_explore_item: Option<RuleExploreItem>,
pub header: Option<String>,
pub respond_time: Option<u64>,
pub http_config: HttpConfig,
pub rule_book_info: RuleBookInfo,
pub rule_content: RuleContent,
pub rule_explore: Option<RuleSearch>,
pub rule_search: RuleSearch,
pub rule_toc: RuleToc,
}
Fields§
§book_source_group: String
§book_source_name: String
§book_source_url: String
§last_update_time: u64
§search_url: String
§explore_url: Option<String>
§rule_explore_item: Option<RuleExploreItem>
§header: Option<String>
§respond_time: Option<u64>
§http_config: HttpConfig
§rule_book_info: RuleBookInfo
§rule_content: RuleContent
§rule_explore: Option<RuleSearch>
§rule_search: RuleSearch
§rule_toc: RuleToc
Implementations§
Trait Implementations§
Source§impl Clone for BookSource
impl Clone for BookSource
Source§fn clone(&self) -> BookSource
fn clone(&self) -> BookSource
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 BookSource
impl Debug for BookSource
Source§impl<'de> Deserialize<'de> for BookSource
impl<'de> Deserialize<'de> for BookSource
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 Serialize for BookSource
impl Serialize for BookSource
Source§impl TryFrom<BookSource> for BookSourceParser
impl TryFrom<BookSource> for BookSourceParser
Source§type Error = ParseError
type Error = ParseError
The type returned in the event of a conversion error.
Source§fn try_from(book_source: BookSource) -> Result<Self>
fn try_from(book_source: BookSource) -> Result<Self>
Performs the conversion.
Auto Trait Implementations§
impl Freeze for BookSource
impl RefUnwindSafe for BookSource
impl Send for BookSource
impl Sync for BookSource
impl Unpin for BookSource
impl UnwindSafe for BookSource
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