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: String
Trait 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<'de> Deserialize<'de> for DisplayFormats
impl<'de> Deserialize<'de> for DisplayFormats
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. 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 for DisplayFormats
impl PartialEq 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 for DisplayFormats
impl PartialOrd 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 moresource§impl Serialize for DisplayFormats
impl Serialize for DisplayFormats
impl Eq for DisplayFormats
impl StructuralPartialEq for DisplayFormats
Auto Trait Implementations§
impl Freeze for DisplayFormats
impl RefUnwindSafe for DisplayFormats
impl Send for DisplayFormats
impl Sync for DisplayFormats
impl Unpin for DisplayFormats
impl UnwindSafe for DisplayFormats
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more