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.
Implementations§
Source§impl IntQuestion
impl IntQuestion
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 moreSource§impl Debug for IntQuestion
impl Debug for IntQuestion
Source§impl Default for IntQuestion
impl Default for IntQuestion
Source§fn default() -> IntQuestion
fn default() -> IntQuestion
Returns the “default value” for a type. Read more
Source§impl PartialEq for IntQuestion
impl PartialEq for IntQuestion
impl StructuralPartialEq for IntQuestion
Auto 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