Enum fiftyonedegrees::properties::device_type::DeviceType
source · pub enum DeviceType {
Console,
Desktop,
EReader,
MediaHub,
Mobile,
SmallScreen,
SmartPhone,
SmartWatch,
Tablet,
Tv,
}
Variants§
Implementations§
source§impl DeviceType
impl DeviceType
pub fn from(value: &str) -> Option<DeviceType>
Trait Implementations§
source§impl Debug for DeviceType
impl Debug for DeviceType
source§impl PartialEq<DeviceType> for DeviceType
impl PartialEq<DeviceType> for DeviceType
source§fn eq(&self, other: &DeviceType) -> bool
fn eq(&self, other: &DeviceType) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.