[][src]Struct appinsights::telemetry::LocationTags

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

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

Methods

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

pub fn ip(&self) -> Option<&str>[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 country(&self) -> Option<&str>[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 province(&self) -> Option<&str>[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 city(&self) -> Option<&str>[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 LocationTags<'a>

impl<'a> Send for LocationTags<'a>

impl<'a> Sync for LocationTags<'a>

impl<'a> Unpin for LocationTags<'a>

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