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<CreateInviteRequestRole, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<CreateInviteRequestRole, <__D as Deserializer<'de>>::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§type Err = ConversionError
type Err = ConversionError
The associated error which can be returned from parsing.
Source§fn from_str(value: &str) -> Result<CreateInviteRequestRole, ConversionError>
fn from_str(value: &str) -> Result<CreateInviteRequestRole, ConversionError>
Parses a string
s to return a value of this type. Read moreSource§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
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
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§fn try_from(value: &String) -> Result<CreateInviteRequestRole, ConversionError>
fn try_from(value: &String) -> Result<CreateInviteRequestRole, ConversionError>
Performs the conversion.
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§fn try_from(value: &str) -> Result<CreateInviteRequestRole, ConversionError>
fn try_from(value: &str) -> Result<CreateInviteRequestRole, ConversionError>
Performs the conversion.
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§fn try_from(value: String) -> Result<CreateInviteRequestRole, ConversionError>
fn try_from(value: String) -> Result<CreateInviteRequestRole, ConversionError>
Performs the conversion.
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