pub struct IntegerField {
pub name: String,
pub enumeration: Option<Vec<i64>>,
pub maximum: Option<i64>,
pub exclusive_maximum: Option<i64>,
pub minimum: Option<i64>,
pub exclusive_minimum: Option<i64>,
}Fields§
§name: String§enumeration: Option<Vec<i64>>§maximum: Option<i64>§exclusive_maximum: Option<i64>§minimum: Option<i64>§exclusive_minimum: Option<i64>Trait Implementations§
Source§impl Debug for IntegerField
impl Debug for IntegerField
Source§impl<'de> Deserialize<'de> for IntegerField
impl<'de> Deserialize<'de> for IntegerField
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
Source§impl Field for IntegerField
impl Field for IntegerField
const FIELD_TYPE: FieldType = FieldType::Integer
fn name(&self) -> String
fn constrains(&self) -> Vec<Box<dyn Constraint>>
Source§impl From<IntegerField> for FieldEnum
impl From<IntegerField> for FieldEnum
Source§fn from(value: IntegerField) -> Self
fn from(value: IntegerField) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for IntegerField
impl RefUnwindSafe for IntegerField
impl Send for IntegerField
impl Sync for IntegerField
impl Unpin for IntegerField
impl UnwindSafe for IntegerField
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