Enum webex::adaptive_card::ActionStyle
source · pub enum ActionStyle {
Default,
Positive,
Destructive,
}
Expand description
Controls the style of an Action, which influences how the action is displayed, spoken, etc.
Variants§
Default
Action is displayed as normal
Positive
Action is displayed with a positive style (typically the button becomes accent color)
Destructive
Action is displayed with a destructive style (typically the button becomes red)
Trait Implementations§
source§impl Clone for ActionStyle
impl Clone for ActionStyle
source§fn clone(&self) -> ActionStyle
fn clone(&self) -> ActionStyle
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 ActionStyle
impl Debug for ActionStyle
source§impl<'de> Deserialize<'de> for ActionStyle
impl<'de> Deserialize<'de> for ActionStyle
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 ActionStyle
impl Send for ActionStyle
impl Sync for ActionStyle
impl Unpin for ActionStyle
impl UnwindSafe for ActionStyle
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