Struct bookdata::goodreads::genres::RawBookGenre
source · pub struct RawBookGenre {
pub book_id: String,
pub genres: HashMap<String, i32>,
}
Expand description
Book-genre records as parsed from JSON.
Fields§
§book_id: String
§genres: HashMap<String, i32>
Trait Implementations§
source§impl<'de> Deserialize<'de> for RawBookGenre
impl<'de> Deserialize<'de> for RawBookGenre
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 ObjectWriter<RawBookGenre> for BookGenreWriter
impl ObjectWriter<RawBookGenre> for BookGenreWriter
source§fn write_object(&mut self, row: RawBookGenre) -> Result<()>
fn write_object(&mut self, row: RawBookGenre) -> Result<()>
Write one object.
source§fn write_all_objects<I>(&mut self, objects: I) -> Result<usize>where
I: Iterator<Item = T>,
fn write_all_objects<I>(&mut self, objects: I) -> Result<usize>where
I: Iterator<Item = T>,
Write an iterator full of objects.
Auto Trait Implementations§
impl RefUnwindSafe for RawBookGenre
impl Send for RawBookGenre
impl Sync for RawBookGenre
impl Unpin for RawBookGenre
impl UnwindSafe for RawBookGenre
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