#[repr(i32)]pub enum RuntimeGroupMemberType {
None = 0,
Beginner = 1,
Member = 2,
Admin = 3,
ActingFounder = 4,
Founder = 5,
}Expand description
The member levels used by all V2 Groups API. Individual group types use their own mappings in their native storage (general uses BnetDbGroupMemberType and D2 clans use ClanMemberLevel), but they are all translated to this in the runtime api. These runtime values should NEVER be stored anywhere, so the values can be changed as necessary.
Variants§
Trait Implementations§
Source§impl Clone for RuntimeGroupMemberType
impl Clone for RuntimeGroupMemberType
Source§fn clone(&self) -> RuntimeGroupMemberType
fn clone(&self) -> RuntimeGroupMemberType
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl<'de> Deserialize<'de> for RuntimeGroupMemberType
impl<'de> Deserialize<'de> for RuntimeGroupMemberType
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 RuntimeGroupMemberType
impl Display for RuntimeGroupMemberType
Source§impl FromStr for RuntimeGroupMemberType
impl FromStr for RuntimeGroupMemberType
Source§impl Hash for RuntimeGroupMemberType
impl Hash for RuntimeGroupMemberType
Source§impl PartialEq for RuntimeGroupMemberType
impl PartialEq for RuntimeGroupMemberType
Source§impl Serialize for RuntimeGroupMemberType
impl Serialize for RuntimeGroupMemberType
impl Copy for RuntimeGroupMemberType
impl Eq for RuntimeGroupMemberType
impl StructuralPartialEq for RuntimeGroupMemberType
Auto Trait Implementations§
impl Freeze for RuntimeGroupMemberType
impl RefUnwindSafe for RuntimeGroupMemberType
impl Send for RuntimeGroupMemberType
impl Sync for RuntimeGroupMemberType
impl Unpin for RuntimeGroupMemberType
impl UnwindSafe for RuntimeGroupMemberType
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