Struct chart_js_rs::types::DisplayFormats
source · pub struct DisplayFormats {
pub year: String,
pub quarter: String,
pub month: String,
pub week: String,
pub day: String,
pub hour: String,
pub minute: String,
}Fields§
§year: String§quarter: String§month: String§week: String§day: String§hour: String§minute: StringTrait Implementations§
source§impl Clone for DisplayFormats
impl Clone for DisplayFormats
source§fn clone(&self) -> DisplayFormats
fn clone(&self) -> DisplayFormats
Returns a copy 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 moresource§impl Debug for DisplayFormats
impl Debug for DisplayFormats
source§impl Default for DisplayFormats
impl Default for DisplayFormats
source§fn default() -> DisplayFormats
fn default() -> DisplayFormats
Returns the “default value” for a type. Read more
source§impl Ord for DisplayFormats
impl Ord for DisplayFormats
source§fn cmp(&self, other: &DisplayFormats) -> Ordering
fn cmp(&self, other: &DisplayFormats) -> Ordering
1.21.0 · source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere Self: Sized,
Compares and returns the maximum of two values. Read more
source§impl PartialEq<DisplayFormats> for DisplayFormats
impl PartialEq<DisplayFormats> for DisplayFormats
source§fn eq(&self, other: &DisplayFormats) -> bool
fn eq(&self, other: &DisplayFormats) -> bool
This method tests for
self and other values to be equal, and is used
by ==.source§impl PartialOrd<DisplayFormats> for DisplayFormats
impl PartialOrd<DisplayFormats> for DisplayFormats
source§fn partial_cmp(&self, other: &DisplayFormats) -> Option<Ordering>
fn partial_cmp(&self, other: &DisplayFormats) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self and other) and is used by the <=
operator. Read more