pub struct PresenceListDeserializer(/* private fields */);
Implementations§
source§impl PresenceListDeserializer
impl PresenceListDeserializer
sourcepub const fn new(guild_id: Id<GuildMarker>) -> Self
pub const fn new(guild_id: Id<GuildMarker>) -> Self
Create a new deserializer for a map of presences when you know the Guild ID but the payload probably doesn’t contain it.
Trait Implementations§
source§impl Clone for PresenceListDeserializer
impl Clone for PresenceListDeserializer
source§fn clone(&self) -> PresenceListDeserializer
fn clone(&self) -> PresenceListDeserializer
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 PresenceListDeserializer
impl Debug for PresenceListDeserializer
source§impl<'de> DeserializeSeed<'de> for PresenceListDeserializer
impl<'de> DeserializeSeed<'de> for PresenceListDeserializer
source§impl PartialEq for PresenceListDeserializer
impl PartialEq for PresenceListDeserializer
impl Eq for PresenceListDeserializer
impl StructuralPartialEq for PresenceListDeserializer
Auto Trait Implementations§
impl Freeze for PresenceListDeserializer
impl RefUnwindSafe for PresenceListDeserializer
impl Send for PresenceListDeserializer
impl Sync for PresenceListDeserializer
impl Unpin for PresenceListDeserializer
impl UnwindSafe for PresenceListDeserializer
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
)