[][src]Struct appinsights::telemetry::DeviceTagsMut

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

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

Methods

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

pub fn set_id(&mut self, value: String)[src]

Unique client device id. Computer name in most cases.

pub fn set_locale(&mut self, value: String)[src]

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

pub fn set_model(&mut self, value: String)[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 set_oem_name(&mut self, value: String)[src]

Client device OEM name taken from the browser.

pub fn set_os_version(&mut self, value: String)[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 set_type(&mut self, value: String)[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 DeviceTagsMut<'a>

impl<'a> Send for DeviceTagsMut<'a>

impl<'a> Sync for DeviceTagsMut<'a>

impl<'a> Unpin for DeviceTagsMut<'a>

impl<'a> !UnwindSafe for DeviceTagsMut<'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>,