pub struct ReadyEvent {
pub users: Vec<User>,
pub servers: Vec<Server>,
pub channels: Vec<Channel>,
pub members: Vec<Member>,
}Expand description
Event received after authentication.
Fields§
§users: Vec<User>§servers: Vec<Server>§channels: Vec<Channel>§members: Vec<Member>Trait Implementations§
Source§impl Clone for ReadyEvent
impl Clone for ReadyEvent
Source§fn clone(&self) -> ReadyEvent
fn clone(&self) -> ReadyEvent
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ReadyEvent
impl Debug for ReadyEvent
Source§impl<'de> Deserialize<'de> for ReadyEvent
impl<'de> Deserialize<'de> for ReadyEvent
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
Source§impl PartialEq for ReadyEvent
impl PartialEq for ReadyEvent
impl Eq for ReadyEvent
impl StructuralPartialEq for ReadyEvent
Auto Trait Implementations§
impl Freeze for ReadyEvent
impl RefUnwindSafe for ReadyEvent
impl Send for ReadyEvent
impl Sync for ReadyEvent
impl Unpin for ReadyEvent
impl UnwindSafe for ReadyEvent
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