pub struct TimestampRatingRecord {
pub user: i32,
pub item: i32,
pub rating: f32,
pub last_rating: f32,
pub timestamp: i64,
pub last_time: i64,
pub nratings: i32,
}
Expand description
Record for a single output rating.
Fields§
§user: i32
§item: i32
§rating: f32
§last_rating: f32
§timestamp: i64
§last_time: i64
§nratings: i32
Trait Implementations§
Source§impl Debug for TimestampRatingRecord
impl Debug for TimestampRatingRecord
Source§impl RecordWriter<TimestampRatingRecord> for &[TimestampRatingRecord]
impl RecordWriter<TimestampRatingRecord> for &[TimestampRatingRecord]
Source§fn write_to_row_group<W: Write + Send>(
&self,
row_group_writer: &mut SerializedRowGroupWriter<'_, W>,
) -> Result<(), ParquetError>
fn write_to_row_group<W: Write + Send>( &self, row_group_writer: &mut SerializedRowGroupWriter<'_, W>, ) -> Result<(), ParquetError>
Writes from
self
into row_group_writer
.Auto Trait Implementations§
impl Freeze for TimestampRatingRecord
impl RefUnwindSafe for TimestampRatingRecord
impl Send for TimestampRatingRecord
impl Sync for TimestampRatingRecord
impl Unpin for TimestampRatingRecord
impl UnwindSafe for TimestampRatingRecord
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
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more