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