pub struct CustomConstraintSchemaConfig {
pub config_path: String,
pub min: Option<f64>,
pub max: Option<f64>,
pub description: String,
}Expand description
Custom constraint in config.
Fields§
§config_path: String§min: Option<f64>§max: Option<f64>§description: StringTrait Implementations§
Source§impl Clone for CustomConstraintSchemaConfig
impl Clone for CustomConstraintSchemaConfig
Source§fn clone(&self) -> CustomConstraintSchemaConfig
fn clone(&self) -> CustomConstraintSchemaConfig
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 CustomConstraintSchemaConfig
impl Debug for CustomConstraintSchemaConfig
Source§impl<'de> Deserialize<'de> for CustomConstraintSchemaConfig
impl<'de> Deserialize<'de> for CustomConstraintSchemaConfig
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 CustomConstraintSchemaConfig
impl RefUnwindSafe for CustomConstraintSchemaConfig
impl Send for CustomConstraintSchemaConfig
impl Sync for CustomConstraintSchemaConfig
impl Unpin for CustomConstraintSchemaConfig
impl UnsafeUnpin for CustomConstraintSchemaConfig
impl UnwindSafe for CustomConstraintSchemaConfig
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