pub struct Ready {
pub application: PartialApplication,
pub guilds: Vec<UnavailableGuild>,
pub resume_gateway_url: String,
pub session_id: String,
pub shard: Option<ShardId>,
pub user: CurrentUser,
pub version: u64,
}
Fields§
§application: PartialApplication
§guilds: Vec<UnavailableGuild>
§resume_gateway_url: String
§session_id: String
§shard: Option<ShardId>
§user: CurrentUser
§version: u64
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Ready
impl<'de> Deserialize<'de> for Ready
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
impl Eq for Ready
impl StructuralPartialEq for Ready
Auto Trait Implementations§
impl Freeze for Ready
impl RefUnwindSafe for Ready
impl Send for Ready
impl Sync for Ready
impl Unpin for Ready
impl UnwindSafe for Ready
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