Struct chart_js_rs::types::ScaleTime
source · pub struct ScaleTime {
pub displayFormats: Option<DisplayFormats>,
pub unit: String,
}
Fields§
§displayFormats: Option<DisplayFormats>
§unit: String
Trait Implementations§
source§impl<'de> Deserialize<'de> for ScaleTime
impl<'de> Deserialize<'de> for ScaleTime
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 ScaleTime
impl Ord for ScaleTime
source§impl PartialEq for ScaleTime
impl PartialEq for ScaleTime
source§impl PartialOrd for ScaleTime
impl PartialOrd for ScaleTime
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 moreimpl Eq for ScaleTime
impl StructuralPartialEq for ScaleTime
Auto Trait Implementations§
impl Freeze for ScaleTime
impl RefUnwindSafe for ScaleTime
impl Send for ScaleTime
impl Sync for ScaleTime
impl Unpin for ScaleTime
impl UnwindSafe for ScaleTime
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