pub struct PresenceDeserializer(/* private fields */);
Implementations§
source§impl PresenceDeserializer
impl PresenceDeserializer
sourcepub const fn new(guild_id: Id<GuildMarker>) -> Self
pub const fn new(guild_id: Id<GuildMarker>) -> Self
Create a new deserializer for a presence when you know the guild ID but the payload probably doesn’t contain it.
Trait Implementations§
source§impl Clone for PresenceDeserializer
impl Clone for PresenceDeserializer
source§fn clone(&self) -> PresenceDeserializer
fn clone(&self) -> PresenceDeserializer
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 PresenceDeserializer
impl Debug for PresenceDeserializer
source§impl<'de> DeserializeSeed<'de> for PresenceDeserializer
impl<'de> DeserializeSeed<'de> for PresenceDeserializer
source§impl PartialEq for PresenceDeserializer
impl PartialEq for PresenceDeserializer
impl Eq for PresenceDeserializer
impl StructuralPartialEq for PresenceDeserializer
Auto Trait Implementations§
impl Freeze for PresenceDeserializer
impl RefUnwindSafe for PresenceDeserializer
impl Send for PresenceDeserializer
impl Sync for PresenceDeserializer
impl Unpin for PresenceDeserializer
impl UnwindSafe for PresenceDeserializer
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)