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 for IntegerFormat
impl PartialEq 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 for IntegerFormat
impl PartialOrd 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 moreimpl Copy for IntegerFormat
impl Eq for IntegerFormat
impl StructuralPartialEq for IntegerFormat
Auto Trait Implementations§
impl Freeze for IntegerFormat
impl RefUnwindSafe for IntegerFormat
impl Send for IntegerFormat
impl Sync for IntegerFormat
impl Unpin for IntegerFormat
impl UnwindSafe for IntegerFormat
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