pub struct OperationalValidationField {
pub name: String,
pub field_type: OperationalValidationFieldType,
pub required: bool,
pub nullable: bool,
pub enum_values: Vec<Value>,
pub minimum: Option<f64>,
pub maximum: Option<f64>,
pub max_length: Option<usize>,
pub max_items: Option<usize>,
}Fields§
§name: String§field_type: OperationalValidationFieldType§required: bool§nullable: bool§enum_values: Vec<Value>§minimum: Option<f64>§maximum: Option<f64>§max_length: Option<usize>§max_items: Option<usize>Trait Implementations§
Source§impl Clone for OperationalValidationField
impl Clone for OperationalValidationField
Source§fn clone(&self) -> OperationalValidationField
fn clone(&self) -> OperationalValidationField
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 OperationalValidationField
impl Debug for OperationalValidationField
Source§impl<'de> Deserialize<'de> for OperationalValidationField
impl<'de> Deserialize<'de> for OperationalValidationField
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
impl StructuralPartialEq for OperationalValidationField
Auto Trait Implementations§
impl Freeze for OperationalValidationField
impl RefUnwindSafe for OperationalValidationField
impl Send for OperationalValidationField
impl Sync for OperationalValidationField
impl Unpin for OperationalValidationField
impl UnsafeUnpin for OperationalValidationField
impl UnwindSafe for OperationalValidationField
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