Struct slack_bk::elements::Button [−][src]
pub struct Button {
pub text: Text,
pub action_id: String,
pub url: Option<String>,
pub value: Option<String>,
pub style: Option<Style>,
pub confirm: Option<ConfirmationDialog>,
}
Fields
text: Text
action_id: String
url: Option<String>
value: Option<String>
style: Option<Style>
confirm: Option<ConfirmationDialog>
Trait Implementations
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