pub enum MemberType {
SPIRC_V2 = 0,
SPIRC_V3 = 1,
CONNECT_STATE = 2,
CONNECT_STATE_EXTENDED = 5,
ACTIVE_DEVICE_TRACKER = 6,
PLAY_TOKEN = 7,
}
Variants§
SPIRC_V2 = 0
SPIRC_V3 = 1
CONNECT_STATE = 2
CONNECT_STATE_EXTENDED = 5
ACTIVE_DEVICE_TRACKER = 6
PLAY_TOKEN = 7
Trait Implementations§
source§impl Clone for MemberType
impl Clone for MemberType
source§fn clone(&self) -> MemberType
fn clone(&self) -> MemberType
Returns a copy 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 Debug for MemberType
impl Debug for MemberType
source§impl Default for MemberType
impl Default for MemberType
source§impl Enum for MemberType
impl Enum for MemberType
source§fn from_i32(value: i32) -> Option<MemberType>
fn from_i32(value: i32) -> Option<MemberType>
Try to create an enum from
i32
value.
Return None
if value is unknown.source§fn from_str(str: &str) -> Option<MemberType>
fn from_str(str: &str) -> Option<MemberType>
Try to create an enum from
&str
value.
Return None
if str is unknown.source§const VALUES: &'static [MemberType] = _
const VALUES: &'static [MemberType] = _
All enum values for enum type.
source§impl EnumFull for MemberType
impl EnumFull for MemberType
source§fn enum_descriptor() -> EnumDescriptor
fn enum_descriptor() -> EnumDescriptor
Get enum descriptor by type.
source§fn descriptor(&self) -> EnumValueDescriptor
fn descriptor(&self) -> EnumValueDescriptor
Get enum value descriptor.
source§impl Hash for MemberType
impl Hash for MemberType
source§impl PartialEq for MemberType
impl PartialEq for MemberType
source§fn eq(&self, other: &MemberType) -> bool
fn eq(&self, other: &MemberType) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for MemberType
impl Eq for MemberType
impl StructuralEq for MemberType
impl StructuralPartialEq for MemberType
Auto Trait Implementations§
impl RefUnwindSafe for MemberType
impl Send for MemberType
impl Sync for MemberType
impl Unpin for MemberType
impl UnwindSafe for MemberType
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