pub struct SubjectAuthor {
pub key: String,
pub name: Option<String>,
pub count: Option<u32>,
}Expand description
An author entry returned when details=true is requested on a subject.
count is the number of works by this author under the subject.
Fields§
§key: String§name: Option<String>§count: Option<u32>Trait Implementations§
Source§impl Clone for SubjectAuthor
impl Clone for SubjectAuthor
Source§fn clone(&self) -> SubjectAuthor
fn clone(&self) -> SubjectAuthor
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 SubjectAuthor
impl Debug for SubjectAuthor
Source§impl<'de> Deserialize<'de> for SubjectAuthor
impl<'de> Deserialize<'de> for SubjectAuthor
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 SubjectAuthor
impl RefUnwindSafe for SubjectAuthor
impl Send for SubjectAuthor
impl Sync for SubjectAuthor
impl Unpin for SubjectAuthor
impl UnsafeUnpin for SubjectAuthor
impl UnwindSafe for SubjectAuthor
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