[][src]Struct letterboxd::RatingsHistogramBar

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

Fields

rating: f32

The rating increment between 0.5 and 5.0.

normalized_weight: f32

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).

count: usize

The number of ratings made at this increment.

Trait Implementations

impl Clone for RatingsHistogramBar[src]

impl Debug for RatingsHistogramBar[src]

impl<'de> Deserialize<'de> for RatingsHistogramBar[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> DeserializeOwned for T where
    T: Deserialize<'de>, 
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,