pub struct IntQuestion {
pub default: Option<i64>,
pub min: Option<i64>,
pub max: Option<i64>,
pub validate: Option<String>,
}Expand description
Configuration for an integer input question.
Fields§
§default: Option<i64>Optional default value
min: Option<i64>Optional minimum value
max: Option<i64>Optional maximum value
validate: Option<String>Validation function name.
Trait Implementations§
Source§impl Clone for IntQuestion
impl Clone for IntQuestion
Source§fn clone(&self) -> IntQuestion
fn clone(&self) -> IntQuestion
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 moreAuto Trait Implementations§
impl Freeze for IntQuestion
impl RefUnwindSafe for IntQuestion
impl Send for IntQuestion
impl Sync for IntQuestion
impl Unpin for IntQuestion
impl UnwindSafe for IntQuestion
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