pub struct UpdateUserProfileDTO {
pub bio: Option<String>,
}Expand description
只提交需要变更的字段;None 的字段不会出现在请求体里。
Fields§
§bio: Option<String>Trait Implementations§
Source§impl Clone for UpdateUserProfileDTO
impl Clone for UpdateUserProfileDTO
Source§impl Debug for UpdateUserProfileDTO
impl Debug for UpdateUserProfileDTO
Source§impl<'de> Deserialize<'de> for UpdateUserProfileDTO
impl<'de> Deserialize<'de> for UpdateUserProfileDTO
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 UpdateUserProfileDTO
impl RefUnwindSafe for UpdateUserProfileDTO
impl Send for UpdateUserProfileDTO
impl Sync for UpdateUserProfileDTO
impl Unpin for UpdateUserProfileDTO
impl UnsafeUnpin for UpdateUserProfileDTO
impl UnwindSafe for UpdateUserProfileDTO
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