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 FrameBuilder<RatingRow> for RatingRowFrameBuilder
impl FrameBuilder<RatingRow> for RatingRowFrameBuilder
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: RatingRow)
fn append_row(&mut self, row: RatingRow)
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, RatingRow> for RatingRowFrame<'a>
impl<'a> FrameStruct<'a, RatingRow> for RatingRowFrame<'a>
Auto Trait Implementations§
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