Enum twilight_model::application::component::ComponentType [−][src]
#[repr(u8)]
pub enum ComponentType {
ActionRow,
Button,
SelectMenu,
}Expand description
Type of Component.
Refer to Discord Docs/Message Components for more information.
Variants
ActionRow
Component is an ActionRow.
Button
Component is an Button.
SelectMenu
Component is an SelectMenu.
Implementations
Trait Implementations
Deserialize this value from the given Serde deserializer. Read more
This method returns an ordering between self and other values if one exists. Read more
This method tests less than (for self and other) and is used by the < operator. Read more
This method tests less than or equal to (for self and other) and is used by the <=
operator. Read more
This method tests greater than (for self and other) and is used by the > operator. Read more
Auto Trait Implementations
impl RefUnwindSafe for ComponentType
impl Send for ComponentType
impl Sync for ComponentType
impl Unpin for ComponentType
impl UnwindSafe for ComponentType
Blanket Implementations
Mutably borrows from an owned value. Read more
Attaches the provided Subscriber to this type, returning a
WithDispatch wrapper. Read more
Attaches the current default Subscriber to this type, returning a
WithDispatch wrapper. Read more
