pub struct ListUsersResponseUsersItem {
pub created_at: f64,
pub display_name: String,
pub email: Option<String>,
pub id: String,
pub role: ListUsersResponseUsersItemRole,
}Expand description
ListUsersResponseUsersItem
JSON schema
{
"type": "object",
"required": [
"createdAt",
"displayName",
"email",
"id",
"role"
],
"properties": {
"createdAt": {
"type": "number"
},
"displayName": {
"type": "string"
},
"email": {
"type": [
"string",
"null"
]
},
"id": {
"type": "string"
},
"role": {
"type": "string",
"enum": [
"user",
"admin"
]
}
}
}Fields§
§created_at: f64§display_name: String§email: Option<String>§id: String§role: ListUsersResponseUsersItemRoleImplementations§
Source§impl ListUsersResponseUsersItem
impl ListUsersResponseUsersItem
pub fn builder() -> ListUsersResponseUsersItem
Trait Implementations§
Source§impl Clone for ListUsersResponseUsersItem
impl Clone for ListUsersResponseUsersItem
Source§fn clone(&self) -> ListUsersResponseUsersItem
fn clone(&self) -> ListUsersResponseUsersItem
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 ListUsersResponseUsersItem
impl Debug for ListUsersResponseUsersItem
Source§impl<'de> Deserialize<'de> for ListUsersResponseUsersItem
impl<'de> Deserialize<'de> for ListUsersResponseUsersItem
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<&ListUsersResponseUsersItem> for ListUsersResponseUsersItem
impl From<&ListUsersResponseUsersItem> for ListUsersResponseUsersItem
Source§fn from(value: &ListUsersResponseUsersItem) -> Self
fn from(value: &ListUsersResponseUsersItem) -> Self
Converts to this type from the input type.
Source§impl From<ListUsersResponseUsersItem> for ListUsersResponseUsersItem
impl From<ListUsersResponseUsersItem> for ListUsersResponseUsersItem
Source§fn from(value: ListUsersResponseUsersItem) -> Self
fn from(value: ListUsersResponseUsersItem) -> Self
Converts to this type from the input type.
Source§impl TryFrom<ListUsersResponseUsersItem> for ListUsersResponseUsersItem
impl TryFrom<ListUsersResponseUsersItem> for ListUsersResponseUsersItem
Source§type Error = ConversionError
type Error = ConversionError
The type returned in the event of a conversion error.
Source§fn try_from(value: ListUsersResponseUsersItem) -> Result<Self, ConversionError>
fn try_from(value: ListUsersResponseUsersItem) -> Result<Self, ConversionError>
Performs the conversion.
Auto Trait Implementations§
impl Freeze for ListUsersResponseUsersItem
impl RefUnwindSafe for ListUsersResponseUsersItem
impl Send for ListUsersResponseUsersItem
impl Sync for ListUsersResponseUsersItem
impl Unpin for ListUsersResponseUsersItem
impl UnsafeUnpin for ListUsersResponseUsersItem
impl UnwindSafe for ListUsersResponseUsersItem
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