pub struct NovelInfo {
pub id: u32,
pub name: String,
pub author_name: String,
pub cover_url: Option<Url>,
pub introduction: Option<Vec<String>>,
pub word_count: Option<u32>,
pub is_vip: Option<bool>,
pub is_finished: Option<bool>,
pub create_time: Option<NaiveDateTime>,
pub update_time: Option<NaiveDateTime>,
pub category: Option<Category>,
pub tags: Option<Vec<Tag>>,
}Expand description
Novel information
Fields§
§id: u32Novel id
name: StringNovel name
Author name
cover_url: Option<Url>Url of the novel cover
introduction: Option<Vec<String>>Novel introduction
word_count: Option<u32>Novel word count
is_vip: Option<bool>Is the novel a VIP
is_finished: Option<bool>Is the novel finished
create_time: Option<NaiveDateTime>Novel creation time
update_time: Option<NaiveDateTime>Novel last update time
category: Option<Category>Novel category
Novel tags
Trait Implementations§
Auto Trait Implementations§
impl Freeze for NovelInfo
impl RefUnwindSafe for NovelInfo
impl Send for NovelInfo
impl Sync for NovelInfo
impl Unpin for NovelInfo
impl UnwindSafe for NovelInfo
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
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more