pub struct BookSource {Show 14 fields
pub book_source_group: String,
pub book_source_name: String,
pub book_source_url: String,
pub enabled_explore: bool,
pub explore_url: Option<String>,
pub header: String,
pub last_update_time: u64,
pub respond_time: u64,
pub rule_book_info: RuleBookInfo,
pub rule_content: RuleContent,
pub rule_explore: Option<RuleExplore>,
pub rule_search: RuleSearch,
pub rule_toc: RuleToc,
pub search_url: String,
}Fields§
§book_source_group: String§book_source_name: String§book_source_url: String§enabled_explore: bool§explore_url: Option<String>§header: String§last_update_time: u64§respond_time: u64§rule_book_info: RuleBookInfo§rule_content: RuleContent§rule_explore: Option<RuleExplore>§rule_search: RuleSearch§rule_toc: RuleToc§search_url: StringImplementations§
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 JsonSource
impl TryFrom<BookSource> for JsonSource
Source§type Error = ParseError
type Error = ParseError
The type returned in the event of a conversion error.
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