pub enum ListUsersResponseUsersItemRole {
User,
Admin,
}Expand description
ListUsersResponseUsersItemRole
JSON schema
{
"type": "string",
"enum": [
"user",
"admin"
]
}Variants§
Trait Implementations§
Source§impl Clone for ListUsersResponseUsersItemRole
impl Clone for ListUsersResponseUsersItemRole
Source§fn clone(&self) -> ListUsersResponseUsersItemRole
fn clone(&self) -> ListUsersResponseUsersItemRole
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<'de> Deserialize<'de> for ListUsersResponseUsersItemRole
impl<'de> Deserialize<'de> for ListUsersResponseUsersItemRole
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<&ListUsersResponseUsersItemRole> for ListUsersResponseUsersItemRole
impl From<&ListUsersResponseUsersItemRole> for ListUsersResponseUsersItemRole
Source§fn from(value: &ListUsersResponseUsersItemRole) -> Self
fn from(value: &ListUsersResponseUsersItemRole) -> Self
Converts to this type from the input type.
Source§impl Ord for ListUsersResponseUsersItemRole
impl Ord for ListUsersResponseUsersItemRole
Source§fn cmp(&self, other: &ListUsersResponseUsersItemRole) -> Ordering
fn cmp(&self, other: &ListUsersResponseUsersItemRole) -> Ordering
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for ListUsersResponseUsersItemRole
impl PartialEq for ListUsersResponseUsersItemRole
Source§fn eq(&self, other: &ListUsersResponseUsersItemRole) -> bool
fn eq(&self, other: &ListUsersResponseUsersItemRole) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl PartialOrd for ListUsersResponseUsersItemRole
impl PartialOrd for ListUsersResponseUsersItemRole
Source§impl TryFrom<&String> for ListUsersResponseUsersItemRole
impl TryFrom<&String> for ListUsersResponseUsersItemRole
Source§type Error = ConversionError
type Error = ConversionError
The type returned in the event of a conversion error.
Source§impl TryFrom<&str> for ListUsersResponseUsersItemRole
impl TryFrom<&str> for ListUsersResponseUsersItemRole
Source§type Error = ConversionError
type Error = ConversionError
The type returned in the event of a conversion error.
Source§impl TryFrom<String> for ListUsersResponseUsersItemRole
impl TryFrom<String> for ListUsersResponseUsersItemRole
Source§type Error = ConversionError
type Error = ConversionError
The type returned in the event of a conversion error.
impl Copy for ListUsersResponseUsersItemRole
impl Eq for ListUsersResponseUsersItemRole
impl StructuralPartialEq for ListUsersResponseUsersItemRole
Auto Trait Implementations§
impl Freeze for ListUsersResponseUsersItemRole
impl RefUnwindSafe for ListUsersResponseUsersItemRole
impl Send for ListUsersResponseUsersItemRole
impl Sync for ListUsersResponseUsersItemRole
impl Unpin for ListUsersResponseUsersItemRole
impl UnsafeUnpin for ListUsersResponseUsersItemRole
impl UnwindSafe for ListUsersResponseUsersItemRole
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