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