pub struct UpdateProfileBody {
pub bio: Option<String>,
pub display_name: Option<String>,
}Expand description
UpdateProfileBody
JSON schema
{
"type": "object",
"properties": {
"bio": {
"type": [
"string",
"null"
]
},
"display_name": {
"type": [
"string",
"null"
]
}
}
}Fields§
§bio: Option<String>§display_name: Option<String>Trait Implementations§
Source§impl Clone for UpdateProfileBody
impl Clone for UpdateProfileBody
Source§fn clone(&self) -> UpdateProfileBody
fn clone(&self) -> UpdateProfileBody
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 Debug for UpdateProfileBody
impl Debug for UpdateProfileBody
Source§impl Default for UpdateProfileBody
impl Default for UpdateProfileBody
Source§impl<'de> Deserialize<'de> for UpdateProfileBody
impl<'de> Deserialize<'de> for UpdateProfileBody
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 UpdateProfileBody
impl RefUnwindSafe for UpdateProfileBody
impl Send for UpdateProfileBody
impl Sync for UpdateProfileBody
impl Unpin for UpdateProfileBody
impl UnsafeUnpin for UpdateProfileBody
impl UnwindSafe for UpdateProfileBody
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