Struct google_fitness1::Session[][src]

pub struct Session {
    pub modified_time_millis: Option<String>,
    pub end_time_millis: Option<String>,
    pub description: Option<String>,
    pub activity_type: Option<i32>,
    pub application: Option<Application>,
    pub start_time_millis: Option<String>,
    pub active_time_millis: Option<String>,
    pub id: Option<String>,
    pub name: Option<String>,
}

Sessions contain metadata, such as a user-friendly name and time interval information.

Activities

This type is used in activities, which are methods you may call on this type or where this type is involved in. The list links the activity name, along with information about where it is used (one of request and response).

Fields

A timestamp that indicates when the session was last modified.

An end time, in milliseconds since epoch, inclusive.

A description for this session.

The type of activity this session represents.

The application that created the session.

A start time, in milliseconds since epoch, inclusive.

Session active time. While start_time_millis and end_time_millis define the full session time, the active time can be shorter and specified by active_time_millis. If the inactive time during the session is known, it should also be inserted via a com.google.activity.segment data point with a STILL activity value

A client-generated identifier that is unique across all sessions owned by this particular user.

A human readable name of the session.

Trait Implementations

impl Default for Session
[src]

Returns the "default value" for a type. Read more

impl Clone for Session
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Debug for Session
[src]

Formats the value using the given formatter. Read more

impl RequestValue for Session
[src]

impl ResponseResult for Session
[src]

Auto Trait Implementations

impl Send for Session

impl Sync for Session