Skip to main content

SavePreparedKeyboardButtonSetters

Trait SavePreparedKeyboardButtonSetters 

Source
pub trait SavePreparedKeyboardButtonSetters: HasPayload<Payload = SavePreparedKeyboardButton> + Sized {
    // Provided methods
    fn user_id(self, value: UserId) -> Self { ... }
    fn button(self, value: KeyboardButton) -> Self { ... }
}
Expand description

Setters for fields of SavePreparedKeyboardButton

Provided Methods§

Source

fn user_id(self, value: UserId) -> Self

Setter for user_id field.

Source

fn button(self, value: KeyboardButton) -> Self

Setter for button field.

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§