pub struct UserUpdateRequest {
pub name: UserUpdateRequestName,
}Expand description
Updates the current user’s editable profile fields.
JSON schema
{
"title": "UserUpdateRequest",
"description": "Updates the current user's editable profile fields.",
"examples": [
{
"name": "Ada Lovelace"
}
],
"type": "object",
"required": [
"name"
],
"properties": {
"name": {
"description": "New display name.",
"type": "string",
"maxLength": 255,
"minLength": 1
}
}
}Fields§
§name: UserUpdateRequestNameNew display name.
Trait Implementations§
Source§impl Clone for UserUpdateRequest
impl Clone for UserUpdateRequest
Source§fn clone(&self) -> UserUpdateRequest
fn clone(&self) -> UserUpdateRequest
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 UserUpdateRequest
impl Debug for UserUpdateRequest
Source§impl<'de> Deserialize<'de> for UserUpdateRequest
impl<'de> Deserialize<'de> for UserUpdateRequest
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 UserUpdateRequest
impl RefUnwindSafe for UserUpdateRequest
impl Send for UserUpdateRequest
impl Sync for UserUpdateRequest
impl Unpin for UserUpdateRequest
impl UnsafeUnpin for UserUpdateRequest
impl UnwindSafe for UserUpdateRequest
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