pub struct GetMyCommandsParams {
pub scope: Option<BotCommandScope>,
pub language_code: Option<String>,
}Fields§
§scope: Option<BotCommandScope>§language_code: Option<String>Implementations§
Source§impl GetMyCommandsParams
impl GetMyCommandsParams
Sourcepub fn builder() -> GetMyCommandsParamsBuilder
pub fn builder() -> GetMyCommandsParamsBuilder
Create an instance of GetMyCommandsParams using the builder syntax
Trait Implementations§
Source§impl Clone for GetMyCommandsParams
impl Clone for GetMyCommandsParams
Source§fn clone(&self) -> GetMyCommandsParams
fn clone(&self) -> GetMyCommandsParams
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 GetMyCommandsParams
impl Debug for GetMyCommandsParams
Source§impl<'de> Deserialize<'de> for GetMyCommandsParams
impl<'de> Deserialize<'de> for GetMyCommandsParams
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for GetMyCommandsParams
impl PartialEq for GetMyCommandsParams
Source§impl Serialize for GetMyCommandsParams
impl Serialize for GetMyCommandsParams
impl Eq for GetMyCommandsParams
impl StructuralPartialEq for GetMyCommandsParams
Auto Trait Implementations§
impl Freeze for GetMyCommandsParams
impl RefUnwindSafe for GetMyCommandsParams
impl Send for GetMyCommandsParams
impl Sync for GetMyCommandsParams
impl Unpin for GetMyCommandsParams
impl UnsafeUnpin for GetMyCommandsParams
impl UnwindSafe for GetMyCommandsParams
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