pub struct UserUpdateInput {
pub avatar_url: Option<String>,
pub privacy_version: Option<String>,
pub terms_version: Option<String>,
}
Expand description
UserUpdateInput
JSON schema
{
"type": "object",
"properties": {
"avatar_url": {
"description": "The user avatar URL.",
"type": "string"
},
"privacy_version": {
"description": "The Privacy version accepted by the user.",
"type": "string"
},
"terms_version": {
"description": "The Terms version accepted by the user.",
"type": "string"
}
}
}
Fields§
§avatar_url: Option<String>
The user avatar URL.
privacy_version: Option<String>
The Privacy version accepted by the user.
terms_version: Option<String>
The Terms version accepted by the user.
Implementations§
Source§impl UserUpdateInput
impl UserUpdateInput
pub fn builder() -> UserUpdateInput
Trait Implementations§
Source§impl Clone for UserUpdateInput
impl Clone for UserUpdateInput
Source§fn clone(&self) -> UserUpdateInput
fn clone(&self) -> UserUpdateInput
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 UserUpdateInput
impl Debug for UserUpdateInput
Source§impl Default for UserUpdateInput
impl Default for UserUpdateInput
Source§impl<'de> Deserialize<'de> for UserUpdateInput
impl<'de> Deserialize<'de> for UserUpdateInput
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
Source§impl From<&UserUpdateInput> for UserUpdateInput
impl From<&UserUpdateInput> for UserUpdateInput
Source§fn from(value: &UserUpdateInput) -> Self
fn from(value: &UserUpdateInput) -> Self
Converts to this type from the input type.
Source§impl From<UserUpdateInput> for UserUpdateInput
impl From<UserUpdateInput> for UserUpdateInput
Source§fn from(value: UserUpdateInput) -> Self
fn from(value: UserUpdateInput) -> Self
Converts to this type from the input type.
Source§impl JsonSchema for UserUpdateInput
impl JsonSchema for UserUpdateInput
Source§fn schema_name() -> String
fn schema_name() -> String
The name of the generated JSON Schema. Read more
Source§fn schema_id() -> Cow<'static, str>
fn schema_id() -> Cow<'static, str>
Returns a string that uniquely identifies the schema produced by this type. Read more
Source§fn json_schema(generator: &mut SchemaGenerator) -> Schema
fn json_schema(generator: &mut SchemaGenerator) -> Schema
Generates a JSON Schema for this type. Read more
Source§fn is_referenceable() -> bool
fn is_referenceable() -> bool
Whether JSON Schemas generated for this type should be re-used where possible using the
$ref
keyword. Read moreSource§impl Serialize for UserUpdateInput
impl Serialize for UserUpdateInput
Source§impl TryFrom<UserUpdateInput> for UserUpdateInput
impl TryFrom<UserUpdateInput> for UserUpdateInput
Source§type Error = ConversionError
type Error = ConversionError
The type returned in the event of a conversion error.
Source§fn try_from(value: UserUpdateInput) -> Result<Self, ConversionError>
fn try_from(value: UserUpdateInput) -> Result<Self, ConversionError>
Performs the conversion.
Auto Trait Implementations§
impl Freeze for UserUpdateInput
impl RefUnwindSafe for UserUpdateInput
impl Send for UserUpdateInput
impl Sync for UserUpdateInput
impl Unpin for UserUpdateInput
impl UnwindSafe for UserUpdateInput
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