Struct bookdata::goodreads::genres::BookGenreRecord
source · pub struct BookGenreRecord {
pub book_id: i32,
pub genre_id: i32,
pub count: i32,
}
Expand description
Rows in the processed book-genre Parquet table.
Fields§
§book_id: i32
§genre_id: i32
§count: i32
Trait Implementations§
source§impl FrameBuilder<BookGenreRecord> for BookGenreRecordFrameBuilder
impl FrameBuilder<BookGenreRecord> for BookGenreRecordFrameBuilder
source§fn with_capacity(cap: usize) -> Self
fn with_capacity(cap: usize) -> Self
Instantiate a frame builder with a specified capacity.
source§fn append_row(&mut self, row: BookGenreRecord)
fn append_row(&mut self, row: BookGenreRecord)
Add a row to the frame builder.
source§fn extend<I>(&mut self, iter: I)where
I: IntoIterator<Item = R>,
fn extend<I>(&mut self, iter: I)where
I: IntoIterator<Item = R>,
Add an iterable of items to the frame.
source§impl<'a> FrameStruct<'a, BookGenreRecord> for BookGenreRecordFrame<'a>
impl<'a> FrameStruct<'a, BookGenreRecord> for BookGenreRecordFrame<'a>
source§impl TableRow for BookGenreRecord
impl TableRow for BookGenreRecord
§type Frame<'a> = BookGenreRecordFrame<'a>
type Frame<'a> = BookGenreRecordFrame<'a>
The frame struct for this row type.
§type Builder = BookGenreRecordFrameBuilder
type Builder = BookGenreRecordFrameBuilder
The frame builder type for this row type.
Auto Trait Implementations§
impl RefUnwindSafe for BookGenreRecord
impl Send for BookGenreRecord
impl Sync for BookGenreRecord
impl Unpin for BookGenreRecord
impl UnwindSafe for BookGenreRecord
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