Struct serenity::builder::CreateButton [−][src]
Expand description
A builder for creating a Button.
Implementations
This is supported on crate feature unstable_discord_api only.
This is supported on crate feature
unstable_discord_api only.Sets the style of the button.
This is supported on crate feature unstable_discord_api only.
This is supported on crate feature
unstable_discord_api only.The label of the button.
This is supported on crate feature unstable_discord_api only.
This is supported on crate feature
unstable_discord_api only.Sets the custom id of the button, a developer-defined identifier.
This is supported on crate feature unstable_discord_api only.
This is supported on crate feature
unstable_discord_api only.The url for url style button.
This is supported on crate feature unstable_discord_api only.
This is supported on crate feature
unstable_discord_api only.Sets emoji of the button.
This is supported on crate feature unstable_discord_api only.
This is supported on crate feature
unstable_discord_api only.Sets the disabled state for the button.
This is supported on crate feature
unstable_discord_api only.Trait Implementations
This is supported on crate feature
unstable_discord_api only.This is supported on crate feature
unstable_discord_api only.This is supported on crate feature
unstable_discord_api only.Returns the “default value” for a type. Read more
Auto Trait Implementations
impl RefUnwindSafe for CreateButtonimpl Send for CreateButtonimpl Sync for CreateButtonimpl Unpin for CreateButtonimpl UnwindSafe for CreateButtonBlanket Implementations
Mutably borrows from an owned value. Read more
Instruments this type with the provided Span, returning an
Instrumented wrapper. Read more
type Output = T
type Output = TShould always be Self
pub fn vzip(self) -> V