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