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