Enum rusty_interaction::types::components::ComponentButtonStyle [−][src]
#[repr(u8)] #[non_exhaustive] pub enum ComponentButtonStyle { Primary, Secondary, Success, Danger, Link, }
Expand description
How a button looks
Variants (Non-exhaustive)
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
blurple
grey
green
red
grey with outgoing link icon
Trait Implementations
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations
impl RefUnwindSafe for ComponentButtonStyle
impl Send for ComponentButtonStyle
impl Sync for ComponentButtonStyle
impl Unpin for ComponentButtonStyle
impl UnwindSafe for ComponentButtonStyle
Blanket Implementations
Mutably borrows from an owned value. Read more
Instruments this type with the provided Span
, returning an
Instrumented
wrapper. Read more
Instruments this type with the provided Span
, returning an
Instrumented
wrapper. Read more
type Output = T
type Output = T
Should always be Self
pub fn vzip(self) -> V