pub struct UserUpdate {
pub user: PublicUser,
}Expand description
See https://discord.com/developers/docs/topics/gateway-events#user-update; Sent to indicate updates to a user object; (name changes, discriminator changes, etc);
Fields§
§user: PublicUserTrait Implementations§
Source§impl Clone for UserUpdate
impl Clone for UserUpdate
Source§fn clone(&self) -> UserUpdate
fn clone(&self) -> UserUpdate
Returns a duplicate 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 UserUpdate
impl Debug for UserUpdate
Source§impl Default for UserUpdate
impl Default for UserUpdate
Source§fn default() -> UserUpdate
fn default() -> UserUpdate
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for UserUpdate
impl<'de> Deserialize<'de> for UserUpdate
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 PartialEq for UserUpdate
impl PartialEq for UserUpdate
Source§impl Serialize for UserUpdate
impl Serialize for UserUpdate
impl Eq for UserUpdate
impl StructuralPartialEq for UserUpdate
impl WebSocketEvent for UserUpdate
Auto Trait Implementations§
impl Freeze for UserUpdate
impl RefUnwindSafe for UserUpdate
impl Send for UserUpdate
impl Sync for UserUpdate
impl Unpin for UserUpdate
impl UnwindSafe for UserUpdate
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§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.