pub struct DetailedScoreComponents {
pub affinity_score: f32,
pub context_score: f32,
pub diversity_score: f32,
pub genre_score: f32,
pub tag_score: f32,
pub series_score: f32,
pub age_penalty: f32,
pub top_genres: Vec<(String, f32)>,
pub top_affinity_tags: Vec<(String, f32)>,
pub top_context_tags: Vec<(String, f32)>,
}Fields§
§affinity_score: f32§context_score: f32§diversity_score: f32§genre_score: f32§tag_score: f32§series_score: f32§age_penalty: f32§top_genres: Vec<(String, f32)>Trait Implementations§
Source§impl Clone for DetailedScoreComponents
impl Clone for DetailedScoreComponents
Source§fn clone(&self) -> DetailedScoreComponents
fn clone(&self) -> DetailedScoreComponents
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for DetailedScoreComponents
impl RefUnwindSafe for DetailedScoreComponents
impl Send for DetailedScoreComponents
impl Sync for DetailedScoreComponents
impl Unpin for DetailedScoreComponents
impl UnwindSafe for DetailedScoreComponents
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