pub enum FieldConstraintDecl {
MinLength {
value: u64,
},
MaxLength {
value: u64,
},
MinItems {
value: u64,
},
MaxItems {
value: u64,
},
ExclusiveMin {
value: String,
},
ExclusiveMax {
value: String,
},
Min {
value: String,
},
Max {
value: String,
},
Pattern {
symbol: String,
},
}Variants§
Trait Implementations§
Source§impl Clone for FieldConstraintDecl
impl Clone for FieldConstraintDecl
Source§impl Debug for FieldConstraintDecl
impl Debug for FieldConstraintDecl
Source§impl<'de> Deserialize<'de> for FieldConstraintDecl
impl<'de> Deserialize<'de> for FieldConstraintDecl
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 From<&FieldConstraintDecl> for FieldConstraintDecl
impl From<&FieldConstraintDecl> for FieldConstraintDecl
Source§fn from(c: &FieldConstraintDecl) -> Self
fn from(c: &FieldConstraintDecl) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Forget for FieldConstraintDecl
impl Freeze for FieldConstraintDecl
impl Move for FieldConstraintDecl
impl RefUnwindSafe for FieldConstraintDecl
impl Send for FieldConstraintDeclwhere
RawVecInner: Send,
impl Sync for FieldConstraintDeclwhere
RawVecInner: Sync,
impl Unpin for FieldConstraintDecl
impl UnsafeUnpin for FieldConstraintDecl
impl UnwindSafe for FieldConstraintDeclwhere
RawVecInner: UnwindSafe,
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