pub struct FicMeta {Show 17 fields
pub id: String,
pub work_id: Option<i64>,
pub title: String,
pub author: String,
pub chapters: i64,
pub words: i64,
pub description: String,
pub status: String,
pub source: String,
pub created: String,
pub updated: String,
pub extra_meta: Option<Value>,
pub raw_extended_meta: Option<Value>,
pub author_url: String,
pub author_local_id: String,
pub source_id: i64,
pub author_id: i64,
}Expand description
Fic metadata object returned by /api/epub and /api/meta.
Fields§
§id: StringFicHub url id (string form).
work_id: Option<i64>Numeric work id, when known.
title: StringWork title.
Author display name.
chapters: i64Number of chapters.
words: i64Word count.
description: StringWork description/summary.
status: StringStatus string (e.g. complete, in-progress).
source: StringSource site domain.
created: StringISO timestamp of original publication.
updated: StringISO timestamp of last update.
extra_meta: Option<Value>Site-specific extra metadata, when the API provides it.
raw_extended_meta: Option<Value>Raw extended metadata object, when the API provides it.
Author profile URL on the source site.
Author id within the source site.
source_id: i64FicHub source id.
FicHub author id.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for FicMeta
impl<'de> Deserialize<'de> for FicMeta
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 FicMeta
impl RefUnwindSafe for FicMeta
impl Send for FicMeta
impl Sync for FicMeta
impl Unpin for FicMeta
impl UnsafeUnpin for FicMeta
impl UnwindSafe for FicMeta
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> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
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