[][src]Struct appinsights::telemetry::DeviceTags

pub struct DeviceTags<'a> { /* fields omitted */ }

Tag helper type that provides access to context fields grouped under 'device'.

Methods

impl<'a> DeviceTags<'a>[src]

pub fn id(&self) -> Option<&str>[src]

Unique client device id. Computer name in most cases.

pub fn locale(&self) -> Option<&str>[src]

Device locale using - pattern, following RFC 5646. Example 'en-US'.

pub fn model(&self) -> Option<&str>[src]

Model of the device the end user of the application is using. Used for client scenarios. If this field is empty then it is derived from the user agent.

pub fn oem_name(&self) -> Option<&str>[src]

Client device OEM name taken from the browser.

pub fn os_version(&self) -> Option<&str>[src]

Operating system name and version of the device the end user of the application is using. If this field is empty then it is derived from the user agent. Example 'Windows 10 Pro 10.0.10586.0'

pub fn type(&self) -> Option<&str>[src]

The type of the device the end user of the application is using. Used primarily to distinguish JavaScript telemetry from server side telemetry. Examples: 'PC', 'Phone', 'Browser'. 'PC' is the default value.

Auto Trait Implementations

impl<'a> RefUnwindSafe for DeviceTags<'a>

impl<'a> Send for DeviceTags<'a>

impl<'a> Sync for DeviceTags<'a>

impl<'a> Unpin for DeviceTags<'a>

impl<'a> UnwindSafe for DeviceTags<'a>

Blanket Implementations

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

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

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

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

impl<T, U> Into<U> for T where
    U: From<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<V, T> VZip<V> for T where
    V: MultiLane<T>,