pub struct InputBlockBuilder {
pub label: TextBlockObject,
pub element: BlockElement,
pub dispatch_action: Option<bool>,
pub block_id: Option<String>,
pub hint: Option<TextBlockObject>,
pub optional: Option<bool>,
}Fields§
§label: TextBlockObject§element: BlockElement§dispatch_action: Option<bool>§block_id: Option<String>§hint: Option<TextBlockObject>§optional: Option<bool>Implementations§
Source§impl InputBlockBuilder
impl InputBlockBuilder
pub fn new(label: TextBlockObject, element: BlockElement) -> InputBlockBuilder
pub fn dispatch_action(self, dispatch_action: bool) -> InputBlockBuilder
pub fn block_id(self, block_id: String) -> InputBlockBuilder
pub fn hint(self, hint: TextBlockObject) -> InputBlockBuilder
pub fn optional(self, optional: bool) -> InputBlockBuilder
pub fn build(self) -> InputBlock
Trait Implementations§
Source§impl Debug for InputBlockBuilder
impl Debug for InputBlockBuilder
Source§impl Default for InputBlockBuilder
impl Default for InputBlockBuilder
Source§fn default() -> InputBlockBuilder
fn default() -> InputBlockBuilder
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for InputBlockBuilder
impl RefUnwindSafe for InputBlockBuilder
impl Send for InputBlockBuilder
impl Sync for InputBlockBuilder
impl Unpin for InputBlockBuilder
impl UnwindSafe for InputBlockBuilder
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