Struct slack_web_api::BlockElementRadio
source · pub struct BlockElementRadio {
pub element_type: String,
pub action_id: String,
pub options: Vec<CompositionObjectOption>,
pub initial_option: Option<CompositionObjectOption>,
pub confirm: Option<CompositionObjectConfirmationDialog>,
pub focus_on_load: Option<bool>,
}Expand description
https://api.slack.com/reference/block-kit/block-elements#radio
Fields§
§element_type: String§action_id: String§options: Vec<CompositionObjectOption>§initial_option: Option<CompositionObjectOption>§confirm: Option<CompositionObjectConfirmationDialog>§focus_on_load: Option<bool>Trait Implementations§
source§impl Clone for BlockElementRadio
impl Clone for BlockElementRadio
source§fn clone(&self) -> BlockElementRadio
fn clone(&self) -> BlockElementRadio
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 BlockElementRadio
impl Debug for BlockElementRadio
source§impl Default for BlockElementRadio
impl Default for BlockElementRadio
source§impl<'de> Deserialize<'de> for BlockElementRadio
impl<'de> Deserialize<'de> for BlockElementRadio
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 BlockElementRadio
impl Send for BlockElementRadio
impl Sync for BlockElementRadio
impl Unpin for BlockElementRadio
impl UnwindSafe for BlockElementRadio
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