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§
Sourcefn target<T>(self, value: T) -> Selfwhere
T: Into<TargetMessage>,
fn target<T>(self, value: T) -> Selfwhere
T: Into<TargetMessage>,
Setter for target
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.