Struct serenity::builder::CreateButton [−][src]
Expand description
A builder for creating a Button
.
Tuple Fields
0: HashMap<&'static str, Value>
Implementations
Sets the style of the button.
Sets the custom id of the button, a developer-defined identifier.
Sets emoji of the button.
Trait Implementations
Returns the “default value” for a type. Read more
Auto Trait Implementations
impl RefUnwindSafe for CreateButton
impl Send for CreateButton
impl Sync for CreateButton
impl Unpin for CreateButton
impl UnwindSafe for CreateButton
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
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