Struct rhit::Trend[][src]

pub struct Trend {
    pub sum_per_day: Vec<u64>,
    pub value: i32,
    pub ref_count: u64,
    pub tail_count: u64,
}

Fields

sum_per_day: Vec<u64>value: i32ref_count: u64tail_count: u64

Implementations

impl Trend[src]

pub fn max_day_count(&self) -> u64[src]

pub fn sum(&self) -> u64[src]

pub fn markdown(&self) -> &'static str[src]

Trait Implementations

impl Clone for Trend[src]

impl Debug for Trend[src]

impl Eq for Trend[src]

impl Ord for Trend[src]

impl PartialEq<Trend> for Trend[src]

impl PartialOrd<Trend> for Trend[src]

impl StructuralEq for Trend[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> From<T> for T[src]

impl<T> Fun for T[src]

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

impl<T> Pointable for T

type Init = T

The type for initializers.

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.