[][src]Struct google_fitness1::Application

pub struct Application {
    pub package_name: Option<String>,
    pub version: Option<String>,
    pub name: Option<String>,
    pub details_url: Option<String>,
}

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

Fields

package_name: Option<String>

Package name for this application. This is used as a unique identifier when created by Android applications, but cannot be specified by REST clients. REST clients will have their developer project number reflected into the Data Source data stream IDs, instead of the packageName.

version: Option<String>

Version of the application. You should update this field whenever the application changes in a way that affects the computation of the data.

name: Option<String>

The name of this application. This is required for REST clients, but we do not enforce uniqueness of this name. It is provided as a matter of convenience for other developers who would like to identify which REST created an Application or Data Source.

details_url: Option<String>

An optional URI that can be used to link back to the application.

Trait Implementations

impl Part for Application[src]

impl Clone for Application[src]

impl Default for Application[src]

impl Debug for Application[src]

impl Serialize for Application[src]

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

Auto Trait Implementations

Blanket Implementations

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 = !

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> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Typeable for T where
    T: Any

impl<T> DeserializeOwned for T where
    T: Deserialize<'de>, 
[src]