pub struct OverflowBlockElementBuilder {
pub action_id: String,
pub options: Vec<OptionBlockObject>,
pub confirm: Option<ConfirmationBlockObject>,
}Fields§
§action_id: String§options: Vec<OptionBlockObject>§confirm: Option<ConfirmationBlockObject>Implementations§
Source§impl OverflowBlockElementBuilder
impl OverflowBlockElementBuilder
pub fn new( action_id: String, options: Vec<OptionBlockObject>, ) -> OverflowBlockElementBuilder
pub fn confirm( self, confirm: ConfirmationBlockObject, ) -> OverflowBlockElementBuilder
pub fn build(self) -> OverflowBlockElement
Trait Implementations§
Source§impl Debug for OverflowBlockElementBuilder
impl Debug for OverflowBlockElementBuilder
Source§impl Default for OverflowBlockElementBuilder
impl Default for OverflowBlockElementBuilder
Source§fn default() -> OverflowBlockElementBuilder
fn default() -> OverflowBlockElementBuilder
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for OverflowBlockElementBuilder
impl RefUnwindSafe for OverflowBlockElementBuilder
impl Send for OverflowBlockElementBuilder
impl Sync for OverflowBlockElementBuilder
impl Unpin for OverflowBlockElementBuilder
impl UnwindSafe for OverflowBlockElementBuilder
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