[][src]Struct google_analyticsreporting4::UserActivitySession

pub struct UserActivitySession {
    pub activities: Option<Vec<Activity>>,
    pub session_id: Option<String>,
    pub session_date: Option<String>,
    pub data_source: Option<String>,
    pub platform: Option<String>,
    pub device_category: Option<String>,
}

This represents a user session performed on a specific device at a certain time over a period of time.

This type is not used in any activity, and only used as part of another schema.

Fields

activities: Option<Vec<Activity>>

Represents a detailed view into each of the activity in this session.

session_id: Option<String>

Unique ID of the session.

session_date: Option<String>

Date of this session in ISO-8601 format.

data_source: Option<String>

The data source of a hit. By default, hits sent from analytics.js are reported as "web" and hits sent from the mobile SDKs are reported as "app". These values can be overridden in the Measurement Protocol.

platform: Option<String>

Platform on which the activity happened: "android", "ios" etc.

device_category: Option<String>

The type of device used: "mobile", "tablet" etc.

Trait Implementations

impl Clone for UserActivitySession[src]

impl Debug for UserActivitySession[src]

impl Default for UserActivitySession[src]

impl<'de> Deserialize<'de> for UserActivitySession[src]

impl Part for UserActivitySession[src]

impl Serialize for UserActivitySession[src]

Auto Trait Implementations

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> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[src]

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

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

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

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> Typeable for T where
    T: Any