Struct twilight_model::gateway::presence::PresenceListDeserializer
source · 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<PresenceListDeserializer> for PresenceListDeserializer
impl PartialEq<PresenceListDeserializer> for PresenceListDeserializer
source§fn eq(&self, other: &PresenceListDeserializer) -> bool
fn eq(&self, other: &PresenceListDeserializer) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for PresenceListDeserializer
impl StructuralEq for PresenceListDeserializer
impl StructuralPartialEq for PresenceListDeserializer
Auto Trait Implementations§
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