Book

Struct Book 

Source
pub struct Book {
Show 24 fields pub book_id: String, pub title: String, pub author: String, pub author_l_f: String, pub additional_authors: String, pub isbn: String, pub isbn13: String, pub my_rating: String, pub average_rating: String, pub publisher: String, pub binding: String, pub number_of_pages: String, pub year_published: String, pub original_publication_year: String, pub date_read: String, pub date_added: String, pub bookshelves: String, pub bookshelves_with_positions: String, pub exclusive_shelf: String, pub my_review: String, pub spoiler: String, pub private_notes: String, pub read_count: i8, pub owned_copies: i8,
}
Expand description

Rust representation of Goodreads book data

Fields§

§book_id: String§title: String§author: String§author_l_f: String§additional_authors: String§isbn: String§isbn13: String§my_rating: String§average_rating: String§publisher: String§binding: String§number_of_pages: String§year_published: String§original_publication_year: String§date_read: String§date_added: String§bookshelves: String§bookshelves_with_positions: String§exclusive_shelf: String§my_review: String§spoiler: String§private_notes: String§read_count: i8§owned_copies: i8

Trait Implementations§

Source§

impl Debug for Book

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl<'de> Deserialize<'de> for Book

Source§

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 Book

§

impl RefUnwindSafe for Book

§

impl Send for Book

§

impl Sync for Book

§

impl Unpin for Book

§

impl UnwindSafe for Book

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
Source§

impl<T> DeserializeOwned for T
where T: for<'de> Deserialize<'de>,