pub struct TimestampActionRecord {
pub user: i32,
pub item: i32,
pub first_time: i64,
pub last_time: i64,
pub last_rating: Option<f32>,
pub nactions: i32,
}
Expand description
Record for a single output action.
Fields§
§user: i32
§item: i32
§first_time: i64
§last_time: i64
§last_rating: Option<f32>
§nactions: i32
Trait Implementations§
Source§impl Debug for TimestampActionRecord
impl Debug for TimestampActionRecord
Source§impl RecordWriter<TimestampActionRecord> for &[TimestampActionRecord]
impl RecordWriter<TimestampActionRecord> for &[TimestampActionRecord]
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 TimestampActionRecord
impl RefUnwindSafe for TimestampActionRecord
impl Send for TimestampActionRecord
impl Sync for TimestampActionRecord
impl Unpin for TimestampActionRecord
impl UnwindSafe for TimestampActionRecord
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