pub struct DeleteMyCommandsRequest {
pub scope: Option<BotCommandScope>,
pub language_code: Option<String>,
}Fields§
§scope: Option<BotCommandScope>A JSON-serialized object, describing scope of users for which the commands are relevant. Defaults to BotCommandScopeDefault.
language_code: Option<String>Two-letter ISO 639-1 language code. See above.
Trait Implementations§
Source§impl Clone for DeleteMyCommandsRequest
impl Clone for DeleteMyCommandsRequest
Source§fn clone(&self) -> DeleteMyCommandsRequest
fn clone(&self) -> DeleteMyCommandsRequest
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for DeleteMyCommandsRequest
impl Debug for DeleteMyCommandsRequest
Source§impl Serialize for DeleteMyCommandsRequest
impl Serialize for DeleteMyCommandsRequest
impl Request for DeleteMyCommandsRequest
Auto Trait Implementations§
impl Freeze for DeleteMyCommandsRequest
impl RefUnwindSafe for DeleteMyCommandsRequest
impl Send for DeleteMyCommandsRequest
impl Sync for DeleteMyCommandsRequest
impl Unpin for DeleteMyCommandsRequest
impl UnwindSafe for DeleteMyCommandsRequest
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more