pub enum InvitationRole {
Admin,
Developer,
Unknown(String),
}Expand description
Inline enum for Invitation.role.
Variants§
Trait Implementations§
Source§impl Clone for InvitationRole
impl Clone for InvitationRole
Source§fn clone(&self) -> InvitationRole
fn clone(&self) -> InvitationRole
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 InvitationRole
impl Debug for InvitationRole
Source§impl Default for InvitationRole
impl Default for InvitationRole
Source§fn default() -> InvitationRole
fn default() -> InvitationRole
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for InvitationRole
impl<'de> Deserialize<'de> for InvitationRole
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 InvitationRole
impl Display for InvitationRole
Source§impl PartialEq for InvitationRole
impl PartialEq for InvitationRole
Source§fn eq(&self, other: &InvitationRole) -> bool
fn eq(&self, other: &InvitationRole) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for InvitationRole
impl Serialize for InvitationRole
impl StructuralPartialEq for InvitationRole
Auto Trait Implementations§
impl Freeze for InvitationRole
impl RefUnwindSafe for InvitationRole
impl Send for InvitationRole
impl Sync for InvitationRole
impl Unpin for InvitationRole
impl UnsafeUnpin for InvitationRole
impl UnwindSafe for InvitationRole
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> PolicyExt for Twhere
T: ?Sized,
impl<T> PolicyExt for Twhere
T: ?Sized,
Source§impl<T> ToStringFallible for Twhere
T: Display,
impl<T> ToStringFallible for Twhere
T: Display,
Source§fn try_to_string(&self) -> Result<String, TryReserveError>
fn try_to_string(&self) -> Result<String, TryReserveError>
ToString::to_string, but without panic on OOM.