pub struct AuthorDetails {Show 17 fields
pub title: Option<String>,
pub source_records: Vec<String>,
pub key: OpenLibraryResource,
pub bio: Option<String>,
pub photos: Vec<i32>,
pub birth_date: String,
pub personal_name: String,
pub remote_ids: HashMap<String, String>,
pub entity_type: Option<String>,
pub links: Vec<Link>,
pub name: String,
pub alternate_names: Vec<String>,
pub wikipedia: Option<Url>,
pub latest_revision: u16,
pub revision: u16,
pub created: Option<NaiveDateTime>,
pub last_modified: Option<NaiveDateTime>,
}
Fields§
§title: Option<String>
§source_records: Vec<String>
§key: OpenLibraryResource
§bio: Option<String>
§photos: Vec<i32>
§birth_date: String
§personal_name: String
§remote_ids: HashMap<String, String>
§entity_type: Option<String>
§links: Vec<Link>
§name: String
§alternate_names: Vec<String>
§wikipedia: Option<Url>
§latest_revision: u16
§revision: u16
§created: Option<NaiveDateTime>
§last_modified: Option<NaiveDateTime>
Trait Implementations§
Source§impl Debug for AuthorDetails
impl Debug for AuthorDetails
Source§impl<'de> Deserialize<'de> for AuthorDetails
impl<'de> Deserialize<'de> for AuthorDetails
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
Source§impl PartialEq for AuthorDetails
impl PartialEq for AuthorDetails
Source§impl Serialize for AuthorDetails
impl Serialize for AuthorDetails
impl Eq for AuthorDetails
impl OpenLibraryModel for AuthorDetails
impl StructuralPartialEq for AuthorDetails
Auto Trait Implementations§
impl Freeze for AuthorDetails
impl RefUnwindSafe for AuthorDetails
impl Send for AuthorDetails
impl Sync for AuthorDetails
impl Unpin for AuthorDetails
impl UnwindSafe for AuthorDetails
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<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.