Struct chart_js_rs::types::NumberOrDateString
source · pub struct NumberOrDateString(/* private fields */);
Implementations§
Trait Implementations§
source§impl Clone for NumberOrDateString
impl Clone for NumberOrDateString
source§fn clone(&self) -> NumberOrDateString
fn clone(&self) -> NumberOrDateString
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 NumberOrDateString
impl Debug for NumberOrDateString
source§impl Default for NumberOrDateString
impl Default for NumberOrDateString
source§fn default() -> NumberOrDateString
fn default() -> NumberOrDateString
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for NumberOrDateString
impl<'de> Deserialize<'de> for NumberOrDateString
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 From<NumberOrDateString> for NumberString
impl From<NumberOrDateString> for NumberString
source§fn from(value: NumberOrDateString) -> Self
fn from(value: NumberOrDateString) -> Self
Converts to this type from the input type.
source§impl From<NumberString> for NumberOrDateString
impl From<NumberString> for NumberOrDateString
source§fn from(value: NumberString) -> Self
fn from(value: NumberString) -> Self
Converts to this type from the input type.
source§impl<T: Display> From<T> for NumberOrDateString
impl<T: Display> From<T> for NumberOrDateString
source§impl Ord for NumberOrDateString
impl Ord for NumberOrDateString
source§fn cmp(&self, other: &NumberOrDateString) -> Ordering
fn cmp(&self, other: &NumberOrDateString) -> 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 NumberOrDateString
impl PartialEq for NumberOrDateString
source§fn eq(&self, other: &NumberOrDateString) -> bool
fn eq(&self, other: &NumberOrDateString) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd for NumberOrDateString
impl PartialOrd for NumberOrDateString
source§fn partial_cmp(&self, other: &NumberOrDateString) -> Option<Ordering>
fn partial_cmp(&self, other: &NumberOrDateString) -> 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 NumberOrDateString
impl Serialize for NumberOrDateString
source§impl ToString for NumberOrDateString
impl ToString for NumberOrDateString
impl Eq for NumberOrDateString
impl StructuralPartialEq for NumberOrDateString
Auto Trait Implementations§
impl RefUnwindSafe for NumberOrDateString
impl Send for NumberOrDateString
impl Sync for NumberOrDateString
impl Unpin for NumberOrDateString
impl UnwindSafe for NumberOrDateString
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