Struct rusty_interaction::types::components::ComponentButtonBuilder [−][src]
pub struct ComponentButtonBuilder { /* fields omitted */ }
Expand description
Builder for making an button component
Implementations
Finish building this button
Set the button style. Takes a ComponentButtonStyle
Set a custom id (required for all styles except ComponentButtonStyle::Link
)
Set a URL (required if style is set to ComponentButtonStyle::Link
)
Trait Implementations
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl RefUnwindSafe for ComponentButtonBuilder
impl Send for ComponentButtonBuilder
impl Sync for ComponentButtonBuilder
impl Unpin for ComponentButtonBuilder
impl UnwindSafe for ComponentButtonBuilder
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