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