pub enum IntegerFormat {
Int32,
Int64,
}
Expand description
An integer format. This corresponds to the "format"
property of an "integer"
schema type.
Variants§
Trait Implementations§
source§impl Clone for IntegerFormat
impl Clone for IntegerFormat
source§fn clone(&self) -> IntegerFormat
fn clone(&self) -> IntegerFormat
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 IntegerFormat
impl Debug for IntegerFormat
source§impl Ord for IntegerFormat
impl Ord for IntegerFormat
source§fn cmp(&self, other: &IntegerFormat) -> Ordering
fn cmp(&self, other: &IntegerFormat) -> 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<IntegerFormat> for IntegerFormat
impl PartialEq<IntegerFormat> for IntegerFormat
source§fn eq(&self, other: &IntegerFormat) -> bool
fn eq(&self, other: &IntegerFormat) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd<IntegerFormat> for IntegerFormat
impl PartialOrd<IntegerFormat> for IntegerFormat
source§fn partial_cmp(&self, other: &IntegerFormat) -> Option<Ordering>
fn partial_cmp(&self, other: &IntegerFormat) -> 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 more