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
source§impl PartialEq<Ready> for Ready
impl PartialEq<Ready> for Ready
impl Eq for Ready
impl StructuralEq for Ready
impl StructuralPartialEq for Ready
Auto Trait Implementations§
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