pub struct IdentifyInfo {
pub capabilities: Capabilities,
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§
§capabilities: Capabilities§compress: bool§intents: Intents§large_threshold: u64§presence: Option<UpdatePresencePayload>§properties: IdentifyProperties§shard: Option<ShardId>§token: StringTrait Implementations§
Source§impl Clone for IdentifyInfo
impl Clone for IdentifyInfo
Source§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
impl Eq for IdentifyInfo
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 StructuralPartialEq for IdentifyInfo
Auto Trait Implementations§
impl Forget for IdentifyInfo
impl Freeze for IdentifyInfo
impl Move for IdentifyInfo
impl RefUnwindSafe for IdentifyInfowhere
InternalBitFlags: RefUnwindSafe,
InternalBitFlags: RefUnwindSafe,
NonZero<u64>: RefUnwindSafe,
InternalBitFlags: RefUnwindSafe,
NonZero<u32>: RefUnwindSafe,
impl Send for IdentifyInfo
impl Sync for IdentifyInfo
impl Unpin for IdentifyInfo
impl UnsafeUnpin for IdentifyInfowhere
InternalBitFlags: UnsafeUnpin,
InternalBitFlags: UnsafeUnpin,
*const u8 is !null: UnsafeUnpin,
PhantomData<Activity>: UnsafeUnpin,
PhantomData<u8>: UnsafeUnpin,
NonZeroU32Inner: UnsafeUnpin,
impl UnwindSafe for IdentifyInfowhere
InternalBitFlags: UnwindSafe,
InternalBitFlags: UnwindSafe,
RawVecInner: UnwindSafe,
NonZero<u64>: UnwindSafe,
InternalBitFlags: UnwindSafe,
NonZero<u32>: UnwindSafe,
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