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