Struct vkrs::stats::Demography
[−]
[src]
pub struct Demography<T: Deserialize + Copy + Debug + Eq> {
pub visitors: u32,
pub value: T,
pub name: Option<String>,
}Fields
visitors: u32
value: T
name: Option<String>
Trait Implementations
impl<T: Clone + Deserialize + Copy + Debug + Eq> Clone for Demography<T>[src]
fn clone(&self) -> Demography<T>
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)1.0.0
Performs copy-assignment from source. Read more
impl<T: Eq + Deserialize + Copy + Debug + Eq> Eq for Demography<T>[src]
impl<T: PartialEq + Deserialize + Copy + Debug + Eq> PartialEq for Demography<T>[src]
fn eq(&self, __arg_0: &Demography<T>) -> bool
This method tests for self and other values to be equal, and is used by ==. Read more
fn ne(&self, __arg_0: &Demography<T>) -> bool
This method tests for !=.