Struct letterboxd::RatingsHistogramBar [] [src]

pub struct RatingsHistogramBar {
    pub rating: f32,
    pub normalized_weight: f32,
    pub count: usize,
}

Fields

The rating increment between 0.5 and 5.0.

The height of this rating increment’s entry in a unit-height histogram, normalized between 0.0 and 1.0. The increment(s) with the highest number of ratings will always return 1.0 (unless there are no ratings for the film).

The number of ratings made at this increment.

Trait Implementations

impl Clone for RatingsHistogramBar
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl Debug for RatingsHistogramBar
[src]

[src]

Formats the value using the given formatter.