pub struct GetMe;Expand description
A simple method for testing your bot’s auth token. Requires no parameters. Returns basic information about the bot in form of a User object.
Trait Implementations§
Source§impl PartialOrd for GetMe
impl PartialOrd for GetMe
Source§impl Serialize for GetMe
impl Serialize for GetMe
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
impl StructuralPartialEq for GetMe
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