pub struct AuthorDoc {
pub key: String,
pub name: Option<String>,
pub alternate_names: Option<Vec<String>>,
pub birth_date: Option<String>,
pub death_date: Option<String>,
pub top_work: Option<String>,
pub work_count: Option<u32>,
pub top_subjects: Option<Vec<String>>,
}Expand description
An author document returned by /search/authors.json.
Fields§
§key: String§name: Option<String>§alternate_names: Option<Vec<String>>§birth_date: Option<String>§death_date: Option<String>§top_work: Option<String>§work_count: Option<u32>§top_subjects: Option<Vec<String>>Trait Implementations§
Source§impl<'de> Deserialize<'de> for AuthorDoc
impl<'de> Deserialize<'de> for AuthorDoc
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 AuthorDoc
impl RefUnwindSafe for AuthorDoc
impl Send for AuthorDoc
impl Sync for AuthorDoc
impl Unpin for AuthorDoc
impl UnsafeUnpin for AuthorDoc
impl UnwindSafe for AuthorDoc
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