Struct slack_hook3::Action [−][src]
pub struct Action { pub action_type: String, pub text: String, pub name: String, pub style: Option<String>, pub value: Option<String>, }
Expand description
Actions are defined as an array, and values contained within it will be displayed with the message.
Fields
action_type: String
Action type, renamed to ‘type’
text: String
Text for action
name: String
Name of action
style: Option<String>
Action style, ie: primary, danger, etc
value: Option<String>
Value of action
Implementations
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for Action
impl UnwindSafe for Action
Blanket Implementations
Mutably borrows from an owned value. Read more
Instruments this type with the provided Span
, returning an
Instrumented
wrapper. Read more