Struct strava::api::AccessToken [] [src]

pub struct AccessToken { /* fields omitted */ }

A strava.com api access token.

You'll need to register/login at https://www.strava.com/developers to get a token. This is required for all requests.

Methods

impl AccessToken
[src]

[src]

Create an AccessToken from the supplied string

[src]

Create an AccessToken from the environment variable STRAVA_ACCESS_TOKEN

[src]

Get the token underlying string

This is used internally for building requests.

Trait Implementations

impl<'a> From<&'a str> for AccessToken
[src]

[src]

Performs the conversion.