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 Freeze for RawBookGenre
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