Trait GetMyCommandsSetters

Source
pub trait GetMyCommandsSetters: HasPayload<Payload = GetMyCommands> + Sized {
    // Provided methods
    fn scope(self, value: BotCommandScope) -> Self { ... }
    fn language_code<T>(self, value: T) -> Self
       where T: Into<String> { ... }
}
Expand description

Setters for fields of GetMyCommands

Provided Methods§

Source

fn scope(self, value: BotCommandScope) -> Self

Setter for scope field.

Source

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

Setter for language_code 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§

Source§

impl<P> GetMyCommandsSetters for P
where P: HasPayload<Payload = GetMyCommands>,