pub struct ParamDef {
pub name: String,
pub param_type: String,
pub required: bool,
pub constraints: Vec<String>,
}
Expand description
Parameter definition for validation
Fields§
§name: String
§param_type: String
§required: bool
§constraints: Vec<String>
Trait Implementations§
Auto Trait Implementations§
impl Freeze for ParamDef
impl RefUnwindSafe for ParamDef
impl Send for ParamDef
impl Sync for ParamDef
impl Unpin for ParamDef
impl UnwindSafe for ParamDef
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