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
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