pub struct UpdateUserAvatarOption {
pub image: Option<String>,
}
Expand description
UpdateUserAvatarOption : UpdateUserAvatarUserOption options when updating the user avatar
Fields§
§image: Option<String>
image must be base64 encoded
Implementations§
Source§impl UpdateUserAvatarOption
impl UpdateUserAvatarOption
Sourcepub fn new() -> UpdateUserAvatarOption
pub fn new() -> UpdateUserAvatarOption
UpdateUserAvatarUserOption options when updating the user avatar
Trait Implementations§
Source§impl Clone for UpdateUserAvatarOption
impl Clone for UpdateUserAvatarOption
Source§fn clone(&self) -> UpdateUserAvatarOption
fn clone(&self) -> UpdateUserAvatarOption
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 UpdateUserAvatarOption
impl Debug for UpdateUserAvatarOption
Source§impl Default for UpdateUserAvatarOption
impl Default for UpdateUserAvatarOption
Source§fn default() -> UpdateUserAvatarOption
fn default() -> UpdateUserAvatarOption
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for UpdateUserAvatarOption
impl<'de> Deserialize<'de> for UpdateUserAvatarOption
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 UpdateUserAvatarOption
impl PartialEq for UpdateUserAvatarOption
Source§impl Serialize for UpdateUserAvatarOption
impl Serialize for UpdateUserAvatarOption
impl StructuralPartialEq for UpdateUserAvatarOption
Auto Trait Implementations§
impl Freeze for UpdateUserAvatarOption
impl RefUnwindSafe for UpdateUserAvatarOption
impl Send for UpdateUserAvatarOption
impl Sync for UpdateUserAvatarOption
impl Unpin for UpdateUserAvatarOption
impl UnwindSafe for UpdateUserAvatarOption
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