pub enum DeviceType {
Show 19 variants
UNKNOWN = 0,
COMPUTER = 1,
TABLET = 2,
SMARTPHONE = 3,
SPEAKER = 4,
TV = 5,
AVR = 6,
STB = 7,
AUDIO_DONGLE = 8,
GAME_CONSOLE = 9,
CAST_VIDEO = 10,
CAST_AUDIO = 11,
AUTOMOBILE = 12,
SMARTWATCH = 13,
CHROMEBOOK = 14,
UNKNOWN_SPOTIFY = 100,
CAR_THING = 101,
OBSERVER = 102,
HOME_THING = 103,
}
Variants§
UNKNOWN = 0
COMPUTER = 1
TABLET = 2
SMARTPHONE = 3
SPEAKER = 4
TV = 5
AVR = 6
STB = 7
AUDIO_DONGLE = 8
GAME_CONSOLE = 9
CAST_VIDEO = 10
CAST_AUDIO = 11
AUTOMOBILE = 12
SMARTWATCH = 13
CHROMEBOOK = 14
UNKNOWN_SPOTIFY = 100
CAR_THING = 101
OBSERVER = 102
HOME_THING = 103
Trait Implementations§
Source§impl Clone for DeviceType
impl Clone for DeviceType
Source§fn clone(&self) -> DeviceType
fn clone(&self) -> DeviceType
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 DeviceType
impl Debug for DeviceType
Source§impl Default for DeviceType
impl Default for DeviceType
Source§impl Enum for DeviceType
impl Enum for DeviceType
Source§const VALUES: &'static [DeviceType]
const VALUES: &'static [DeviceType]
All enum values for enum type.
Source§impl EnumFull for DeviceType
impl EnumFull for DeviceType
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 DeviceType
impl Hash for DeviceType
Source§impl PartialEq for DeviceType
impl PartialEq for DeviceType
impl Copy for DeviceType
impl Eq for DeviceType
impl StructuralPartialEq for DeviceType
Auto Trait Implementations§
impl Freeze for DeviceType
impl RefUnwindSafe for DeviceType
impl Send for DeviceType
impl Sync for DeviceType
impl Unpin for DeviceType
impl UnwindSafe for DeviceType
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