pub struct NumberSchema {
pub min: Option<f64>,
pub max: Option<f64>,
pub int: bool,
}Fields§
§min: Option<f64>§max: Option<f64>§int: boolImplementations§
Trait Implementations§
Source§impl Clone for NumberSchema
impl Clone for NumberSchema
Source§fn clone(&self) -> NumberSchema
fn clone(&self) -> NumberSchema
Returns a duplicate 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 Default for NumberSchema
impl Default for NumberSchema
Source§fn default() -> NumberSchema
fn default() -> NumberSchema
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for NumberSchema
impl RefUnwindSafe for NumberSchema
impl Send for NumberSchema
impl Sync for NumberSchema
impl Unpin for NumberSchema
impl UnsafeUnpin for NumberSchema
impl UnwindSafe for NumberSchema
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