pub struct NumberInputBuilder { /* private fields */ }Expand description
Builder for NumberInput object.
Implementations§
Source§impl NumberInputBuilder
impl NumberInputBuilder
Sourcepub fn get_is_decimal_allowed(&self) -> Option<bool>
pub fn get_is_decimal_allowed(&self) -> Option<bool>
get is_decimal_allowed field value.
Sourcepub fn set_is_decimal_allowed(self, value: Option<impl Into<bool>>) -> Self
pub fn set_is_decimal_allowed(self, value: Option<impl Into<bool>>) -> Self
set is_decimal_allowed field value.
Sourcepub fn is_decimal_allowed(self, value: impl Into<bool>) -> Self
pub fn is_decimal_allowed(self, value: impl Into<bool>) -> Self
set is_decimal_allowed field value.
Sourcepub fn get_action_id(&self) -> Option<&String>
pub fn get_action_id(&self) -> Option<&String>
get action_id field value.
Sourcepub fn set_action_id(self, value: Option<impl Into<String>>) -> Self
pub fn set_action_id(self, value: Option<impl Into<String>>) -> Self
set action_id field value.
Sourcepub fn get_initial_value(&self) -> Option<&String>
pub fn get_initial_value(&self) -> Option<&String>
get initial_value field value.
Sourcepub fn set_initial_value(self, value: Option<impl Into<String>>) -> Self
pub fn set_initial_value(self, value: Option<impl Into<String>>) -> Self
set initial_value field value.
Sourcepub fn initial_value(self, value: impl Into<String>) -> Self
pub fn initial_value(self, value: impl Into<String>) -> Self
set initial_value field value.
Sourcepub fn get_min_value(&self) -> Option<&String>
pub fn get_min_value(&self) -> Option<&String>
get min_value field value.
Sourcepub fn set_min_value(self, value: Option<impl Into<String>>) -> Self
pub fn set_min_value(self, value: Option<impl Into<String>>) -> Self
set min_value field value.
Sourcepub fn get_max_value(&self) -> Option<&String>
pub fn get_max_value(&self) -> Option<&String>
get max_value field value.
Sourcepub fn set_max_value(self, value: Option<impl Into<String>>) -> Self
pub fn set_max_value(self, value: Option<impl Into<String>>) -> Self
set max_value field value.
Sourcepub fn get_dispatch_action_config(&self) -> Option<&DispatchActionConfiguration>
pub fn get_dispatch_action_config(&self) -> Option<&DispatchActionConfiguration>
get dispatch_action_config field value.
Sourcepub fn set_dispatch_action_config(
self,
value: Option<impl Into<DispatchActionConfiguration>>,
) -> Self
pub fn set_dispatch_action_config( self, value: Option<impl Into<DispatchActionConfiguration>>, ) -> Self
set dispatch_action_config field value.
Sourcepub fn dispatch_action_config(
self,
value: impl Into<DispatchActionConfiguration>,
) -> Self
pub fn dispatch_action_config( self, value: impl Into<DispatchActionConfiguration>, ) -> Self
set dispatch_action_config field value.
Sourcepub fn get_focus_on_load(&self) -> Option<bool>
pub fn get_focus_on_load(&self) -> Option<bool>
get focus_on_load field value.
Sourcepub fn set_focus_on_load(self, value: Option<impl Into<bool>>) -> Self
pub fn set_focus_on_load(self, value: Option<impl Into<bool>>) -> Self
set focus_on_load field value.
Sourcepub fn focus_on_load(self, value: impl Into<bool>) -> Self
pub fn focus_on_load(self, value: impl Into<bool>) -> Self
set focus_on_load field value.
Sourcepub fn get_placeholder(&self) -> Option<&Text<Plain>>
pub fn get_placeholder(&self) -> Option<&Text<Plain>>
get placeholder field value.
Sourcepub fn set_placeholder(self, value: Option<impl Into<Text<Plain>>>) -> Self
pub fn set_placeholder(self, value: Option<impl Into<Text<Plain>>>) -> Self
set placeholder field value.
Sourcepub fn placeholder(self, value: impl Into<Text<Plain>>) -> Self
pub fn placeholder(self, value: impl Into<Text<Plain>>) -> Self
set placeholder field value.
Sourcepub fn build(self) -> Result<NumberInput, ValidationErrors>
pub fn build(self) -> Result<NumberInput, ValidationErrors>
build NumberInput object.
Trait Implementations§
Source§impl Debug for NumberInputBuilder
impl Debug for NumberInputBuilder
Auto Trait Implementations§
impl Freeze for NumberInputBuilder
impl RefUnwindSafe for NumberInputBuilder
impl Send for NumberInputBuilder
impl Sync for NumberInputBuilder
impl Unpin for NumberInputBuilder
impl UnsafeUnpin for NumberInputBuilder
impl UnwindSafe for NumberInputBuilder
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