pub trait DeleteMyCommandsSetters: HasPayload<Payload = DeleteMyCommands> + 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 DeleteMyCommands
Provided Methods§
sourcefn scope(self, value: BotCommandScope) -> Self
fn scope(self, value: BotCommandScope) -> Self
Setter for scope
field.
sourcefn language_code<T>(self, value: T) -> Selfwhere
T: Into<String>,
fn language_code<T>(self, value: T) -> Selfwhere T: Into<String>,
Setter for language_code
field.