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