[][src]Enum fiftyonedegrees::values::PropertyValue

pub enum PropertyValue<'detector> {
    DeviceType(DeviceType),
    IsSmartPhone(bool),
    IsTablet(bool),
    HardwareName(&'detector str),
    HardwareModel(&'detector str),
    HardwareVendor(&'detector str),
    PlatformName(PlatformName<'detector>),
    PlatformVersion(&'detector str),
    BrowserName(BrowserName<'detector>),
    BrowserVersion(&'detector str),
}

Variants

DeviceType(DeviceType)
IsSmartPhone(bool)
IsTablet(bool)
HardwareName(&'detector str)
HardwareModel(&'detector str)
HardwareVendor(&'detector str)
PlatformName(PlatformName<'detector>)
PlatformVersion(&'detector str)
BrowserName(BrowserName<'detector>)
BrowserVersion(&'detector str)

Methods

impl<'detector> PropertyValue<'detector>[src]

pub fn new(
    property_name: &PropertyName,
    value: &'detector str
) -> Option<PropertyValue<'detector>>
[src]

Trait Implementations

impl<'detector> PartialEq<PropertyValue<'detector>> for PropertyValue<'detector>[src]

impl<'detector> Debug for PropertyValue<'detector>[src]

Auto Trait Implementations

impl<'detector> Send for PropertyValue<'detector>

impl<'detector> Sync for PropertyValue<'detector>

impl<'detector> Unpin for PropertyValue<'detector>

impl<'detector> UnwindSafe for PropertyValue<'detector>

impl<'detector> RefUnwindSafe for PropertyValue<'detector>

Blanket Implementations

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> From<T> for T[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]