pub struct GetChatMenuButton { /* private fields */ }
Expand description
Use this method to get the current value of the bot's menu button in a private chat, or the default menu button. Returns MenuButton
on success.
Trait Implementations§
Source§impl Clone for GetChatMenuButton
impl Clone for GetChatMenuButton
Source§fn clone(&self) -> GetChatMenuButton
fn clone(&self) -> GetChatMenuButton
Returns a duplicate of the value. Read more
1.0.0 · Source§const fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for GetChatMenuButton
impl Debug for GetChatMenuButton
Source§impl<'de> Deserialize<'de> for GetChatMenuButton
impl<'de> Deserialize<'de> for GetChatMenuButton
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
Auto Trait Implementations§
impl Freeze for GetChatMenuButton
impl RefUnwindSafe for GetChatMenuButton
impl Send for GetChatMenuButton
impl Sync for GetChatMenuButton
impl Unpin for GetChatMenuButton
impl UnwindSafe for GetChatMenuButton
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