pub struct PlainTextInputBlockElementBuilder {
pub action_id: String,
pub placeholder: Option<TextBlockObject>,
pub initial_value: Option<String>,
pub multiline: Option<bool>,
pub min_length: Option<i32>,
pub max_length: Option<i32>,
pub dispatch_action_config: Option<DispatchActionConfig>,
pub focus_on_load: Option<bool>,
}Fields§
§action_id: String§placeholder: Option<TextBlockObject>§initial_value: Option<String>§multiline: Option<bool>§min_length: Option<i32>§max_length: Option<i32>§dispatch_action_config: Option<DispatchActionConfig>§focus_on_load: Option<bool>Implementations§
Source§impl PlainTextInputBlockElementBuilder
impl PlainTextInputBlockElementBuilder
pub fn new(action_id: String) -> PlainTextInputBlockElementBuilder
pub fn placeholder( self, placeholder: TextBlockObject, ) -> PlainTextInputBlockElementBuilder
pub fn initial_value( self, initial_value: String, ) -> PlainTextInputBlockElementBuilder
pub fn multiline(self, multiline: bool) -> PlainTextInputBlockElementBuilder
pub fn min_length(self, min_length: i32) -> PlainTextInputBlockElementBuilder
pub fn max_length(self, max_length: i32) -> PlainTextInputBlockElementBuilder
pub fn dispatch_action_config( self, dispatch_action_config: DispatchActionConfig, ) -> PlainTextInputBlockElementBuilder
pub fn focus_on_load( self, focus_on_load: bool, ) -> PlainTextInputBlockElementBuilder
pub fn build(self) -> PlainTextInputBlockElement
Trait Implementations§
Source§impl Default for PlainTextInputBlockElementBuilder
impl Default for PlainTextInputBlockElementBuilder
Source§fn default() -> PlainTextInputBlockElementBuilder
fn default() -> PlainTextInputBlockElementBuilder
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for PlainTextInputBlockElementBuilder
impl RefUnwindSafe for PlainTextInputBlockElementBuilder
impl Send for PlainTextInputBlockElementBuilder
impl Sync for PlainTextInputBlockElementBuilder
impl Unpin for PlainTextInputBlockElementBuilder
impl UnwindSafe for PlainTextInputBlockElementBuilder
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