pub struct UpdateUserInfoParams {
pub nickName: Option<String>,
pub userTag: Option<String>,
pub userUrl: Option<String>,
pub userIntro: Option<String>,
pub mbti: Option<String>,
}Expand description
更新用户信息参数
Fields§
§nickName: Option<String>用户昵称
userTag: Option<String>用户标签,多个标签用逗号分隔
userUrl: Option<String>个人主页 URL
userIntro: Option<String>个人简介
mbti: Option<String>MBTI 性格类型(例如:ENFP)
Trait Implementations§
Source§impl Clone for UpdateUserInfoParams
impl Clone for UpdateUserInfoParams
Source§fn clone(&self) -> UpdateUserInfoParams
fn clone(&self) -> UpdateUserInfoParams
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<'de> Deserialize<'de> for UpdateUserInfoParams
impl<'de> Deserialize<'de> for UpdateUserInfoParams
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
Auto Trait Implementations§
impl Freeze for UpdateUserInfoParams
impl RefUnwindSafe for UpdateUserInfoParams
impl Send for UpdateUserInfoParams
impl Sync for UpdateUserInfoParams
impl Unpin for UpdateUserInfoParams
impl UnsafeUnpin for UpdateUserInfoParams
impl UnwindSafe for UpdateUserInfoParams
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