Struct slack_web_api::BlockElementButton
source · pub struct BlockElementButton {
pub element_type: String,
pub text: CompositionObjectText,
pub action_id: String,
pub url: Option<String>,
pub value: Option<String>,
pub style: Option<String>,
pub confirm: Option<CompositionObjectConfirmationDialog>,
pub accessibility_label: Option<String>,
}Expand description
https://api.slack.com/reference/block-kit/block-elements#button
Fields§
§element_type: String§text: CompositionObjectText§action_id: String§url: Option<String>§value: Option<String>§style: Option<String>§confirm: Option<CompositionObjectConfirmationDialog>§accessibility_label: Option<String>Trait Implementations§
source§impl Clone for BlockElementButton
impl Clone for BlockElementButton
source§fn clone(&self) -> BlockElementButton
fn clone(&self) -> BlockElementButton
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 BlockElementButton
impl Debug for BlockElementButton
source§impl Default for BlockElementButton
impl Default for BlockElementButton
source§impl<'de> Deserialize<'de> for BlockElementButton
impl<'de> Deserialize<'de> for BlockElementButton
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 BlockElementButton
impl Send for BlockElementButton
impl Sync for BlockElementButton
impl Unpin for BlockElementButton
impl UnwindSafe for BlockElementButton
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