pub struct TimelessRatingRecord {
pub user: i32,
pub item: i32,
pub rating: f32,
pub nratings: i32,
}
Expand description
Record for a single output rating without time.
Fields§
§user: i32
§item: i32
§rating: f32
§nratings: i32
Trait Implementations§
Source§impl Debug for TimelessRatingRecord
impl Debug for TimelessRatingRecord
Source§impl FromRatingSet for TimelessRatingRecord
impl FromRatingSet for TimelessRatingRecord
Source§impl RecordWriter<TimelessRatingRecord> for &[TimelessRatingRecord]
impl RecordWriter<TimelessRatingRecord> for &[TimelessRatingRecord]
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 TimelessRatingRecord
impl RefUnwindSafe for TimelessRatingRecord
impl Send for TimelessRatingRecord
impl Sync for TimelessRatingRecord
impl Unpin for TimelessRatingRecord
impl UnwindSafe for TimelessRatingRecord
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