pub struct UserUpdate(pub CurrentUser);
Tuple Fields§
§0: CurrentUser
Methods from Deref<Target = CurrentUser>§
Sourcepub fn discriminator(&self) -> DiscriminatorDisplay
pub fn discriminator(&self) -> DiscriminatorDisplay
Create a Display
formatter for a user discriminator that pads the
discriminator with zeros up to 4 digits.
Trait Implementations§
Source§impl Clone for UserUpdate
impl Clone for UserUpdate
Source§fn clone(&self) -> UserUpdate
fn clone(&self) -> UserUpdate
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 UserUpdate
impl Debug for UserUpdate
Source§impl Deref for UserUpdate
impl Deref for UserUpdate
Source§impl DerefMut for UserUpdate
impl DerefMut for UserUpdate
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 Hash for UserUpdate
impl Hash for UserUpdate
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
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