pub struct AuthorSummary {
pub key: String,
pub name: Option<String>,
}Expand description
A summary of an author as returned inside a search result.
Fields§
§key: String§name: Option<String>Trait Implementations§
Source§impl Clone for AuthorSummary
impl Clone for AuthorSummary
Source§fn clone(&self) -> AuthorSummary
fn clone(&self) -> AuthorSummary
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 AuthorSummary
impl Debug for AuthorSummary
Source§impl<'de> Deserialize<'de> for AuthorSummary
impl<'de> Deserialize<'de> for AuthorSummary
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 AuthorSummary
impl RefUnwindSafe for AuthorSummary
impl Send for AuthorSummary
impl Sync for AuthorSummary
impl Unpin for AuthorSummary
impl UnsafeUnpin for AuthorSummary
impl UnwindSafe for AuthorSummary
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