pub struct RssMangaRow {
pub id: i32,
pub manga_tran_name: Option<String>,
pub manga_ori_name: Option<String>,
pub category: Option<i16>,
pub manga_status: Option<i16>,
pub image: Option<String>,
pub setup_time: Option<DateTime<Utc>>,
pub update_time: Option<DateTime<Utc>>,
pub author_id: Option<i32>,
pub author_name: Option<String>,
pub author_id2: Option<i32>,
pub author_name2: Option<String>,
}Expand description
漫画 RSS 查询行
来自 get_manga_rss 和 get_manga_updated_rss 查询的中间结果。
包含漫画基本信息 + 作者信息,用于生成 rss.xml 和 rssUpdated.xml。
§查询来源
MangaRepository::get_manga_rss— 最新开坑漫画(按setupTime降序取 2 条)MangaRepository::get_manga_updated_rss— 最近更新漫画(按updateTime降序取 3 条)
§对应 Java 查询
Java MangaMapper.getMangaRss。
Fields§
§id: i32漫画 ID,序列化为 "Id"
manga_tran_name: Option<String>漫画译名
manga_ori_name: Option<String>漫画原名
category: Option<i16>漫画分类
manga_status: Option<i16>连载状态
image: Option<String>封面图片路径
setup_time: Option<DateTime<Utc>>开坑时间
update_time: Option<DateTime<Utc>>最近更新时间
原作作者 ID
原作作者名
作画作者 ID
作画作者名
Trait Implementations§
Source§impl Clone for RssMangaRow
impl Clone for RssMangaRow
Source§fn clone(&self) -> RssMangaRow
fn clone(&self) -> RssMangaRow
Returns a duplicate 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 RssMangaRow
impl Debug for RssMangaRow
Source§impl Default for RssMangaRow
impl Default for RssMangaRow
Source§fn default() -> RssMangaRow
fn default() -> RssMangaRow
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for RssMangaRow
impl RefUnwindSafe for RssMangaRow
impl Send for RssMangaRow
impl Sync for RssMangaRow
impl Unpin for RssMangaRow
impl UnsafeUnpin for RssMangaRow
impl UnwindSafe for RssMangaRow
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<T> FutureExt for T
impl<T> FutureExt for T
§fn with_context(self, otel_cx: Context) -> WithContext<Self>
fn with_context(self, otel_cx: Context) -> WithContext<Self>
§fn with_current_context(self) -> WithContext<Self>
fn with_current_context(self) -> WithContext<Self>
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§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 moreSource§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
Source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
Wrap the input message
T in a tonic::Request