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) -> Self
fn language_code<T>(self, value: T) -> Self
Setter for language_code
field.
Object Safety§
This trait is not object safe.