Struct slack_web_api::BlockElementCheckbox
source · pub struct BlockElementCheckbox {
pub element_type: String,
pub action_id: String,
pub options: Vec<CompositionObjectOption>,
pub initial_options: Option<Vec<CompositionObjectOption>>,
pub confirm: Option<Vec<CompositionObjectConfirmationDialog>>,
pub focus_on_load: Option<bool>,
}Expand description
https://api.slack.com/reference/block-kit/block-elements#checkboxes
Fields§
§element_type: String§action_id: String§options: Vec<CompositionObjectOption>§initial_options: Option<Vec<CompositionObjectOption>>§confirm: Option<Vec<CompositionObjectConfirmationDialog>>§focus_on_load: Option<bool>Trait Implementations§
source§impl Clone for BlockElementCheckbox
impl Clone for BlockElementCheckbox
source§fn clone(&self) -> BlockElementCheckbox
fn clone(&self) -> BlockElementCheckbox
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresource§impl Debug for BlockElementCheckbox
impl Debug for BlockElementCheckbox
source§impl Default for BlockElementCheckbox
impl Default for BlockElementCheckbox
source§impl<'de> Deserialize<'de> for BlockElementCheckbox
impl<'de> Deserialize<'de> for BlockElementCheckbox
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
Auto Trait Implementations§
impl RefUnwindSafe for BlockElementCheckbox
impl Send for BlockElementCheckbox
impl Sync for BlockElementCheckbox
impl Unpin for BlockElementCheckbox
impl UnwindSafe for BlockElementCheckbox
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