pub struct ReviewRow {
pub user: i32,
pub asin: String,
pub rating: f32,
pub timestamp: i64,
pub summary: String,
pub text: String,
}
Expand description
Structure for scanned reviews.
This data structure is serialized to reviews.parquet
in the Amazon directories.
Fields§
§user: i32
§asin: String
§rating: f32
§timestamp: i64
§summary: String
§text: String
Trait Implementations§
Source§impl<'de> Deserialize<'de> for ReviewRow
impl<'de> Deserialize<'de> for ReviewRow
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 RecordWriter<ReviewRow> for &[ReviewRow]
impl RecordWriter<ReviewRow> for &[ReviewRow]
fn write_to_row_group<W: Write + Send>( &self, row_group_writer: &mut SerializedRowGroupWriter<'_, W>, ) -> Result<(), ParquetError>
Auto Trait Implementations§
impl Freeze for ReviewRow
impl RefUnwindSafe for ReviewRow
impl Send for ReviewRow
impl Sync for ReviewRow
impl Unpin for ReviewRow
impl UnwindSafe for ReviewRow
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