bookdata::interactions::ratings

Trait FromRatingSet

Source
pub trait FromRatingSet {
    // Required method
    fn create(user: i32, item: i32, ratings: Vec<(f32, i64)>) -> Self;
}
Expand description

Collapse a sequence of ratings into a rating record.

Required Methods§

Source

fn create(user: i32, item: i32, ratings: Vec<(f32, i64)>) -> Self

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§