pub enum NumberFormat {
Double,
}
Expand description
A number format. This corresponds to the "format"
property of a "number"
schema type.
Variants§
Double
Trait Implementations§
source§impl Clone for NumberFormat
impl Clone for NumberFormat
source§fn clone(&self) -> NumberFormat
fn clone(&self) -> NumberFormat
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 NumberFormat
impl Debug for NumberFormat
source§impl Ord for NumberFormat
impl Ord for NumberFormat
source§fn cmp(&self, other: &NumberFormat) -> Ordering
fn cmp(&self, other: &NumberFormat) -> 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<NumberFormat> for NumberFormat
impl PartialEq<NumberFormat> for NumberFormat
source§fn eq(&self, other: &NumberFormat) -> bool
fn eq(&self, other: &NumberFormat) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd<NumberFormat> for NumberFormat
impl PartialOrd<NumberFormat> for NumberFormat
source§fn partial_cmp(&self, other: &NumberFormat) -> Option<Ordering>
fn partial_cmp(&self, other: &NumberFormat) -> 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 moreimpl Copy for NumberFormat
impl Eq for NumberFormat
impl StructuralEq for NumberFormat
impl StructuralPartialEq for NumberFormat
Auto Trait Implementations§
impl RefUnwindSafe for NumberFormat
impl Send for NumberFormat
impl Sync for NumberFormat
impl Unpin for NumberFormat
impl UnwindSafe for NumberFormat
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