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.

Object Safety§

This trait is not object safe.

Implementors§