Struct slack_web_api::BlockElementNumberInput
source · pub struct BlockElementNumberInput {
pub element_type: String,
pub is_decimal_allowed: bool,
pub action_id: String,
pub initial_value: Option<String>,
pub min_value: Option<String>,
pub max_value: Option<String>,
pub dispatch_action_config: Option<CompositionObjectConfirmationDialog>,
pub focus_on_load: Option<bool>,
pub placeholder: Option<CompositionObjectText>,
}Expand description
https://api.slack.com/reference/block-kit/block-elements#number
Fields§
§element_type: String§is_decimal_allowed: bool§action_id: String§initial_value: Option<String>§min_value: Option<String>§max_value: Option<String>§dispatch_action_config: Option<CompositionObjectConfirmationDialog>§focus_on_load: Option<bool>§placeholder: Option<CompositionObjectText>Trait Implementations§
source§impl Clone for BlockElementNumberInput
impl Clone for BlockElementNumberInput
source§fn clone(&self) -> BlockElementNumberInput
fn clone(&self) -> BlockElementNumberInput
Returns a copy 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 BlockElementNumberInput
impl Debug for BlockElementNumberInput
source§impl Default for BlockElementNumberInput
impl Default for BlockElementNumberInput
source§impl<'de> Deserialize<'de> for BlockElementNumberInput
impl<'de> Deserialize<'de> for BlockElementNumberInput
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 RefUnwindSafe for BlockElementNumberInput
impl Send for BlockElementNumberInput
impl Sync for BlockElementNumberInput
impl Unpin for BlockElementNumberInput
impl UnwindSafe for BlockElementNumberInput
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