Struct bookdata::interactions::actions::TimestampActionRecord
source · 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 FrameBuilder<TimestampActionRecord> for TimestampActionRecordFrameBuilder
impl FrameBuilder<TimestampActionRecord> for TimestampActionRecordFrameBuilder
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: TimestampActionRecord)
fn append_row(&mut self, row: TimestampActionRecord)
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, TimestampActionRecord> for TimestampActionRecordFrame<'a>
impl<'a> FrameStruct<'a, TimestampActionRecord> for TimestampActionRecordFrame<'a>
source§impl TableRow for TimestampActionRecord
impl TableRow for TimestampActionRecord
§type Frame<'a> = TimestampActionRecordFrame<'a>
type Frame<'a> = TimestampActionRecordFrame<'a>
The frame struct for this row type.
§type Builder = TimestampActionRecordFrameBuilder
type Builder = TimestampActionRecordFrameBuilder
The frame builder type for this row type.
Auto Trait Implementations§
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