pub enum CommunityRole {
Dominant,
Keystone,
Foundation,
Rare,
Invasive,
Native,
Unknown,
Custom(String),
}Variants§
Trait Implementations§
Source§impl Clone for CommunityRole
impl Clone for CommunityRole
Source§fn clone(&self) -> CommunityRole
fn clone(&self) -> CommunityRole
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 CommunityRole
impl Debug for CommunityRole
Source§impl Display for CommunityRole
impl Display for CommunityRole
Source§impl FromStr for CommunityRole
impl FromStr for CommunityRole
Source§impl Hash for CommunityRole
impl Hash for CommunityRole
Source§impl Ord for CommunityRole
impl Ord for CommunityRole
Source§fn cmp(&self, other: &CommunityRole) -> Ordering
fn cmp(&self, other: &CommunityRole) -> 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 CommunityRole
impl PartialEq for CommunityRole
Source§fn eq(&self, other: &CommunityRole) -> bool
fn eq(&self, other: &CommunityRole) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl PartialOrd for CommunityRole
impl PartialOrd for CommunityRole
impl Eq for CommunityRole
impl StructuralPartialEq for CommunityRole
Auto Trait Implementations§
impl Freeze for CommunityRole
impl RefUnwindSafe for CommunityRole
impl Send for CommunityRole
impl Sync for CommunityRole
impl Unpin for CommunityRole
impl UnsafeUnpin for CommunityRole
impl UnwindSafe for CommunityRole
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