Struct frankenstein::api_params::GetMyCommandsParams
source · pub struct GetMyCommandsParams {
pub scope: Option<BotCommandScope>,
pub language_code: Option<String>,
}
Fields§
§scope: Option<BotCommandScope>
§language_code: Option<String>
Implementations§
Trait Implementations§
source§impl Clone for GetMyCommandsParams
impl Clone for GetMyCommandsParams
source§fn clone(&self) -> GetMyCommandsParams
fn clone(&self) -> GetMyCommandsParams
Returns a copy 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§fn eq(&self, other: &GetMyCommandsParams) -> bool
fn eq(&self, other: &GetMyCommandsParams) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.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 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