pub struct CheckboxGroupsBlockElement {
pub action_id: String,
pub options: Vec<OptionBlockObject>,
pub initial_options: Option<Vec<OptionBlockObject>>,
pub confirm: Option<ConfirmationBlockObject>,
pub focus_on_load: Option<bool>,
}Expand description
A checkbox group that allows a user to choose multiple items from a list of possible options.
See: https://api.slack.com/reference/block-kit/block-elements#checkboxes
Fields§
§action_id: String§options: Vec<OptionBlockObject>§initial_options: Option<Vec<OptionBlockObject>>§confirm: Option<ConfirmationBlockObject>§focus_on_load: Option<bool>Implementations§
Source§impl CheckboxGroupsBlockElement
impl CheckboxGroupsBlockElement
pub fn builder( action_id: String, options: Vec<OptionBlockObject>, ) -> CheckboxGroupsBlockElementBuilder
Trait Implementations§
Source§impl Debug for CheckboxGroupsBlockElement
impl Debug for CheckboxGroupsBlockElement
Source§impl Default for CheckboxGroupsBlockElement
impl Default for CheckboxGroupsBlockElement
Source§fn default() -> CheckboxGroupsBlockElement
fn default() -> CheckboxGroupsBlockElement
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for CheckboxGroupsBlockElement
impl<'de> Deserialize<'de> for CheckboxGroupsBlockElement
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
impl StructuralPartialEq for CheckboxGroupsBlockElement
Auto Trait Implementations§
impl Freeze for CheckboxGroupsBlockElement
impl RefUnwindSafe for CheckboxGroupsBlockElement
impl Send for CheckboxGroupsBlockElement
impl Sync for CheckboxGroupsBlockElement
impl Unpin for CheckboxGroupsBlockElement
impl UnwindSafe for CheckboxGroupsBlockElement
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