pub struct BookRecord {
pub book_id: i32,
pub title: Option<String>,
pub pub_year: Option<u16>,
pub pub_month: Option<u8>,
}
Expand description
book info records to actually write
Fields§
§book_id: i32
§title: Option<String>
§pub_year: Option<u16>
§pub_month: Option<u8>
Trait Implementations§
Source§impl RecordWriter<BookRecord> for &[BookRecord]
impl RecordWriter<BookRecord> for &[BookRecord]
fn write_to_row_group<W: Write + Send>( &self, row_group_writer: &mut SerializedRowGroupWriter<'_, W>, ) -> Result<(), ParquetError>
Auto Trait Implementations§
impl Freeze for BookRecord
impl RefUnwindSafe for BookRecord
impl Send for BookRecord
impl Sync for BookRecord
impl Unpin for BookRecord
impl UnwindSafe for BookRecord
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