[][src]Struct appinsights::telemetry::LocationTagsMut

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

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

Methods

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

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

The IP address of the client device. IPv4 and IPv6 are supported. Information in the location context fields is always about the end user. When telemetry is sent from a service, the location context is about the user that initiated the operation in the service.

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

The country of the client device. If any of Country, Province, or City is specified, those values will be preferred over geolocation of the IP address field. Information in the location context fields is always about the end user. When telemetry is sent from a service, the location context is about the user that initiated the operation in the service.

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

The province/state of the client device. If any of Country, Province, or City is specified, those values will be preferred over geolocation of the IP address field. Information in the location context fields is always about the end user. When telemetry is sent from a service, the location context is about the user that initiated the operation in the service.

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

The city of the client device. If any of Country, Province, or City is specified, those values will be preferred over geolocation of the IP address field. Information in the location context fields is always about the end user. When telemetry is sent from a service, the location context is about the user that initiated the operation in the service.

Auto Trait Implementations

impl<'a> RefUnwindSafe for LocationTagsMut<'a>

impl<'a> Send for LocationTagsMut<'a>

impl<'a> Sync for LocationTagsMut<'a>

impl<'a> Unpin for LocationTagsMut<'a>

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