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