pub struct LogOut;
Expand description
Logs out from the Cloud Bot API.
You must log out a bot before running it locally, otherwise there is no guarantee that the bot will receive updates.
After a successful call, you can immediately log in on a local server, but will not be able to log in back to the Cloud Bot API server for 10 minutes.
Trait Implementations§
impl Copy for LogOut
Auto Trait Implementations§
impl Freeze for LogOut
impl RefUnwindSafe for LogOut
impl Send for LogOut
impl Sync for LogOut
impl Unpin for LogOut
impl UnwindSafe for LogOut
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