pub struct UserResponseBody {
pub user: Option<UserResponse>,
}Expand description
UserResponseBody
JSON schema
{
"type": "object",
"properties": {
"user": {
"$ref": "#/components/schemas/UserResponse"
}
}
}Fields§
§user: Option<UserResponse>Trait Implementations§
Source§impl Clone for UserResponseBody
impl Clone for UserResponseBody
Source§fn clone(&self) -> UserResponseBody
fn clone(&self) -> UserResponseBody
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 UserResponseBody
impl Debug for UserResponseBody
Source§impl Default for UserResponseBody
impl Default for UserResponseBody
Source§impl<'de> Deserialize<'de> for UserResponseBody
impl<'de> Deserialize<'de> for UserResponseBody
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<&UserResponseBody> for UserResponseBody
impl From<&UserResponseBody> for UserResponseBody
Source§fn from(value: &UserResponseBody) -> Self
fn from(value: &UserResponseBody) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for UserResponseBody
impl RefUnwindSafe for UserResponseBody
impl Send for UserResponseBody
impl Sync for UserResponseBody
impl Unpin for UserResponseBody
impl UnwindSafe for UserResponseBody
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