pub trait GetGameHighScoresSetters: HasPayload<Payload = GetGameHighScores> + Sized {
    // Provided methods
    fn user_id(self, value: UserId) -> Self { ... }
    fn target<T>(self, value: T) -> Self
       where T: Into<TargetMessage> { ... }
}
Expand description

Setters for fields of GetGameHighScores

Provided Methods§

source

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

Setter for user_id field.

source

fn target<T>(self, value: T) -> Self
where T: Into<TargetMessage>,

Setter for target field.

Object Safety§

This trait is not object safe.

Implementors§