pub struct SubjectWork {
pub key: String,
pub title: Option<String>,
pub cover_id: Option<i64>,
pub cover_edition_key: Option<String>,
pub edition_count: Option<u32>,
pub has_fulltext: bool,
pub public_scan: bool,
pub ia: Option<String>,
pub authors: Option<Vec<SubjectWorkAuthor>>,
pub first_publish_year: Option<i32>,
pub subject: Option<Vec<String>>,
}Expand description
A work summary inside a subject response.
Fields§
§key: String§title: Option<String>§cover_id: Option<i64>§cover_edition_key: Option<String>§edition_count: Option<u32>§has_fulltext: bool§public_scan: bool§ia: Option<String>§first_publish_year: Option<i32>§subject: Option<Vec<String>>Trait Implementations§
Source§impl Clone for SubjectWork
impl Clone for SubjectWork
Source§fn clone(&self) -> SubjectWork
fn clone(&self) -> SubjectWork
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 SubjectWork
impl Debug for SubjectWork
Source§impl<'de> Deserialize<'de> for SubjectWork
impl<'de> Deserialize<'de> for SubjectWork
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 SubjectWork
impl RefUnwindSafe for SubjectWork
impl Send for SubjectWork
impl Sync for SubjectWork
impl Unpin for SubjectWork
impl UnsafeUnpin for SubjectWork
impl UnwindSafe for SubjectWork
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