pub struct UserResponse {
pub email: Option<String>,
pub guid: Option<String>,
pub id: Option<String>,
pub is_disabled: Option<bool>,
pub metadata: Option<String>,
}Expand description
UserResponse
JSON schema
{
"type": "object",
"properties": {
"email": {
"examples": [
"email@provider.com"
],
"type": [
"string",
"null"
]
},
"guid": {
"examples": [
"USR-d74cb14f-fd0a-449f-991b-e0362a63d9c6"
],
"type": [
"string",
"null"
]
},
"id": {
"examples": [
"My-Unique-ID"
],
"type": [
"string",
"null"
]
},
"is_disabled": {
"examples": [
false
],
"type": [
"boolean",
"null"
]
},
"metadata": {
"examples": [
"{\\\"first_name\\\": \\\"Steven\\\", \\\"last_name\\\":
\\\"Universe\\\"}"
],
"type": [
"string",
"null"
]
}
}
}Fields§
§email: Option<String>§guid: Option<String>§id: Option<String>§is_disabled: Option<bool>§metadata: Option<String>Trait Implementations§
Source§impl Clone for UserResponse
impl Clone for UserResponse
Source§fn clone(&self) -> UserResponse
fn clone(&self) -> UserResponse
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 UserResponse
impl Debug for UserResponse
Source§impl Default for UserResponse
impl Default for UserResponse
Source§impl<'de> Deserialize<'de> for UserResponse
impl<'de> Deserialize<'de> for UserResponse
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<&UserResponse> for UserResponse
impl From<&UserResponse> for UserResponse
Source§fn from(value: &UserResponse) -> Self
fn from(value: &UserResponse) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for UserResponse
impl RefUnwindSafe for UserResponse
impl Send for UserResponse
impl Sync for UserResponse
impl Unpin for UserResponse
impl UnwindSafe for UserResponse
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