Struct discord_sdk::user::events::DisconnectEvent
source · pub struct DisconnectEvent {
pub reason: Error,
}
Fields§
§reason: Error
Trait Implementations§
Auto Trait Implementations§
impl !RefUnwindSafe for DisconnectEvent
impl Send for DisconnectEvent
impl Sync for DisconnectEvent
impl Unpin for DisconnectEvent
impl !UnwindSafe for DisconnectEvent
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