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