pub struct ListUsersResponse {
pub users: Vec<ListUsersResponseUsersItem>,
}Expand description
ListUsersResponse
JSON schema
{
"type": "object",
"required": [
"users"
],
"properties": {
"users": {
"type": "array",
"items": {
"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§
§users: Vec<ListUsersResponseUsersItem>Implementations§
Source§impl ListUsersResponse
impl ListUsersResponse
pub fn builder() -> ListUsersResponse
Trait Implementations§
Source§impl Clone for ListUsersResponse
impl Clone for ListUsersResponse
Source§fn clone(&self) -> ListUsersResponse
fn clone(&self) -> ListUsersResponse
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 ListUsersResponse
impl Debug for ListUsersResponse
Source§impl<'de> Deserialize<'de> for ListUsersResponse
impl<'de> Deserialize<'de> for ListUsersResponse
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<&ListUsersResponse> for ListUsersResponse
impl From<&ListUsersResponse> for ListUsersResponse
Source§fn from(value: &ListUsersResponse) -> Self
fn from(value: &ListUsersResponse) -> Self
Converts to this type from the input type.
Source§impl From<ListUsersResponse> for ListUsersResponse
impl From<ListUsersResponse> for ListUsersResponse
Source§fn from(value: ListUsersResponse) -> Self
fn from(value: ListUsersResponse) -> Self
Converts to this type from the input type.
Source§impl Serialize for ListUsersResponse
impl Serialize for ListUsersResponse
Source§impl TryFrom<ListUsersResponse> for ListUsersResponse
impl TryFrom<ListUsersResponse> for ListUsersResponse
Source§type Error = ConversionError
type Error = ConversionError
The type returned in the event of a conversion error.
Source§fn try_from(value: ListUsersResponse) -> Result<Self, ConversionError>
fn try_from(value: ListUsersResponse) -> Result<Self, ConversionError>
Performs the conversion.
Auto Trait Implementations§
impl Freeze for ListUsersResponse
impl RefUnwindSafe for ListUsersResponse
impl Send for ListUsersResponse
impl Sync for ListUsersResponse
impl Unpin for ListUsersResponse
impl UnsafeUnpin for ListUsersResponse
impl UnwindSafe for ListUsersResponse
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