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