Trait SetGameScoreInlineSetters

Source
pub trait SetGameScoreInlineSetters: HasPayload<Payload = SetGameScoreInline> + Sized {
    // Provided methods
    fn user_id(self, value: UserId) -> Self { ... }
    fn score(self, value: u64) -> Self { ... }
    fn inline_message_id<T>(self, value: T) -> Self
       where T: Into<String> { ... }
    fn force(self, value: bool) -> Self { ... }
    fn disable_edit_message(self, value: bool) -> Self { ... }
}
Expand description

Setters for fields of SetGameScoreInline

Provided Methods§

Source

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

Setter for user_id field.

Source

fn score(self, value: u64) -> Self

Setter for score field.

Source

fn inline_message_id<T>(self, value: T) -> Self
where T: Into<String>,

Setter for inline_message_id field.

Source

fn force(self, value: bool) -> Self

Setter for force field.

Source

fn disable_edit_message(self, value: bool) -> Self

Setter for disable_edit_message field.

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§