pub struct UserProfileUpdate {
pub nickname: Option<String>,
pub tags: Option<String>,
pub url: Option<String>,
pub intro: Option<String>,
pub mbti: Option<String>,
}Expand description
更新用户信息参数
Fields§
§nickname: Option<String>用户昵称
用户标签,多个标签用逗号分隔
url: Option<String>个人主页 URL
intro: Option<String>个人简介
mbti: Option<String>MBTI 性格类型(例如:ENFP)
Trait Implementations§
Source§impl Clone for UserProfileUpdate
impl Clone for UserProfileUpdate
Source§impl From<&UserProfileUpdate> for UserProfileUpdate
impl From<&UserProfileUpdate> for UserProfileUpdate
Source§fn from(value: &UserProfileUpdate) -> Self
fn from(value: &UserProfileUpdate) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Forget for UserProfileUpdate
impl Freeze for UserProfileUpdate
impl Move for UserProfileUpdate
impl RefUnwindSafe for UserProfileUpdate
impl Send for UserProfileUpdate
impl Sync for UserProfileUpdate
impl Unpin for UserProfileUpdate
impl UnsafeUnpin for UserProfileUpdate
impl UnwindSafe for UserProfileUpdate
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