pub struct IntegerSchema {
pub schema_type: String,
pub description: Option<String>,
pub minimum: Option<i64>,
pub maximum: Option<i64>,
pub default: Option<i64>,
}Expand description
Integer field schema
Fields§
§schema_type: String§description: Option<String>§minimum: Option<i64>§maximum: Option<i64>§default: Option<i64>Default value for this field
Trait Implementations§
Source§impl Clone for IntegerSchema
impl Clone for IntegerSchema
Source§fn clone(&self) -> IntegerSchema
fn clone(&self) -> IntegerSchema
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 Debug for IntegerSchema
impl Debug for IntegerSchema
Source§impl<'de> Deserialize<'de> for IntegerSchema
impl<'de> Deserialize<'de> for IntegerSchema
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
Auto Trait Implementations§
impl Freeze for IntegerSchema
impl RefUnwindSafe for IntegerSchema
impl Send for IntegerSchema
impl Sync for IntegerSchema
impl Unpin for IntegerSchema
impl UnwindSafe for IntegerSchema
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