pub struct BlockElementPlaneTextInput {
pub element_type: String,
pub action_id: String,
pub initial_value: Option<String>,
pub multiline: Option<bool>,
pub min_length: Option<i32>,
pub max_length: Option<i32>,
pub dispatch_action_config: Option<CompositionObjectDispatchActionConfiguration>,
pub focus_on_load: Option<bool>,
pub placeholder: Option<CompositionObjectText>,
}Expand description
https://api.slack.com/reference/block-kit/block-elements#input
Fields§
§element_type: String§action_id: String§initial_value: Option<String>§multiline: Option<bool>§min_length: Option<i32>§max_length: Option<i32>§dispatch_action_config: Option<CompositionObjectDispatchActionConfiguration>§focus_on_load: Option<bool>§placeholder: Option<CompositionObjectText>Trait Implementations§
source§impl Clone for BlockElementPlaneTextInput
impl Clone for BlockElementPlaneTextInput
source§fn clone(&self) -> BlockElementPlaneTextInput
fn clone(&self) -> BlockElementPlaneTextInput
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 BlockElementPlaneTextInput
impl Debug for BlockElementPlaneTextInput
source§impl Default for BlockElementPlaneTextInput
impl Default for BlockElementPlaneTextInput
source§impl<'de> Deserialize<'de> for BlockElementPlaneTextInput
impl<'de> Deserialize<'de> for BlockElementPlaneTextInput
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 BlockElementPlaneTextInput
impl Send for BlockElementPlaneTextInput
impl Sync for BlockElementPlaneTextInput
impl Unpin for BlockElementPlaneTextInput
impl UnwindSafe for BlockElementPlaneTextInput
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