Struct chart_js_rs::types::DisplayFormats
source · [−]pub struct DisplayFormats {
pub year: Option<String>,
pub quarter: Option<String>,
pub month: Option<String>,
pub week: Option<String>,
pub day: Option<String>,
pub hour: Option<String>,
pub minute: Option<String>,
}Fields
year: Option<String>quarter: Option<String>month: Option<String>week: Option<String>day: Option<String>hour: Option<String>minute: Option<String>Trait Implementations
sourceimpl Clone for DisplayFormats
impl Clone for DisplayFormats
sourcefn clone(&self) -> DisplayFormats
fn clone(&self) -> DisplayFormats
Returns a copy of the value. Read more
1.0.0 · sourceconst fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresourceimpl Debug for DisplayFormats
impl Debug for DisplayFormats
sourceimpl Default for DisplayFormats
impl Default for DisplayFormats
sourcefn default() -> DisplayFormats
fn default() -> DisplayFormats
Returns the “default value” for a type. Read more
sourceimpl Serialize for DisplayFormats
impl Serialize for DisplayFormats
Auto Trait Implementations
impl RefUnwindSafe for DisplayFormats
impl Send for DisplayFormats
impl Sync for DisplayFormats
impl Unpin for DisplayFormats
impl UnwindSafe for DisplayFormats
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more