pub struct AvatarUpdate {
pub color: Option<UserAvatarColor>,
}Fields§
§color: Option<UserAvatarColor>Implementations§
Source§impl AvatarUpdate
impl AvatarUpdate
pub fn new() -> AvatarUpdate
Trait Implementations§
Source§impl Clone for AvatarUpdate
impl Clone for AvatarUpdate
Source§fn clone(&self) -> AvatarUpdate
fn clone(&self) -> AvatarUpdate
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 AvatarUpdate
impl Debug for AvatarUpdate
Source§impl Default for AvatarUpdate
impl Default for AvatarUpdate
Source§fn default() -> AvatarUpdate
fn default() -> AvatarUpdate
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for AvatarUpdate
impl<'de> Deserialize<'de> for AvatarUpdate
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 AvatarUpdate
impl PartialEq for AvatarUpdate
Source§impl Serialize for AvatarUpdate
impl Serialize for AvatarUpdate
impl StructuralPartialEq for AvatarUpdate
Auto Trait Implementations§
impl Freeze for AvatarUpdate
impl RefUnwindSafe for AvatarUpdate
impl Send for AvatarUpdate
impl Sync for AvatarUpdate
impl Unpin for AvatarUpdate
impl UnsafeUnpin for AvatarUpdate
impl UnwindSafe for AvatarUpdate
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