pub struct GetMe {}
Expand description
A simple method for testing your bot’s authentication token. Requires no parameters. Returns basic information about the bot in form of a User object.
Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for GetMe
impl<'de> Deserialize<'de> for GetMe
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 GetMe
impl RefUnwindSafe for GetMe
impl Send for GetMe
impl Sync for GetMe
impl Unpin for GetMe
impl UnwindSafe for GetMe
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