pub struct IdentifyInfo {
pub compress: bool,
pub intents: Intents,
pub large_threshold: u64,
pub presence: Option<UpdatePresencePayload>,
pub properties: IdentifyProperties,
pub shard: Option<ShardId>,
pub token: String,
}
Fields§
§compress: bool
§intents: Intents
§large_threshold: u64
§presence: Option<UpdatePresencePayload>
§properties: IdentifyProperties
§shard: Option<ShardId>
§token: String
Trait Implementations§
Source§impl Clone for IdentifyInfo
impl Clone for IdentifyInfo
Source§fn clone(&self) -> IdentifyInfo
fn clone(&self) -> IdentifyInfo
Returns a copy 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 IdentifyInfo
impl Debug for IdentifyInfo
Source§impl<'de> Deserialize<'de> for IdentifyInfo
impl<'de> Deserialize<'de> for IdentifyInfo
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 Hash for IdentifyInfo
impl Hash for IdentifyInfo
Source§impl PartialEq for IdentifyInfo
impl PartialEq for IdentifyInfo
Source§impl Serialize for IdentifyInfo
impl Serialize for IdentifyInfo
impl Eq for IdentifyInfo
impl StructuralPartialEq for IdentifyInfo
Auto Trait Implementations§
impl Freeze for IdentifyInfo
impl RefUnwindSafe for IdentifyInfo
impl Send for IdentifyInfo
impl Sync for IdentifyInfo
impl Unpin for IdentifyInfo
impl UnwindSafe for IdentifyInfo
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