Struct splits_io_api::Runner

source ·
pub struct Runner {
    pub avatar: Option<Box<str>>,
    pub created_at: Box<str>,
    pub display_name: Option<Box<str>>,
    pub id: Box<str>,
    pub name: Box<str>,
    pub twitch_id: Option<Box<str>>,
    pub twitch_name: Option<Box<str>>,
    pub updated_at: Box<str>,
}
Expand description

A Runner is a user who has at least one run tied to their account.

API Documentation

Fields§

§avatar: Option<Box<str>>

The avatar of the user.

§created_at: Box<str>

The time and date at which this user first authenticated with Splits.io. This field conforms to ISO 8601.

§display_name: Option<Box<str>>

The display name of the user.

§id: Box<str>

The unique ID of the user.

§name: Box<str>

The Splits.io username of the user.

§twitch_id: Option<Box<str>>

The Twitch ID of the user.

§twitch_name: Option<Box<str>>

The Twitch name of the user.

§updated_at: Box<str>

The time and date at which this user was most recently modified on Splits.io. This field conforms to ISO 8601.

Implementations§

Searches for a Runner based on the name of the runner.

Gets the Runner that is associated with the current user.

Gets a Runner based on the name of the runner.

Gets the Runs that are associated with the Runner.

Gets the personal best Runs that are associated with the Runner.

Gets the Games that are associated with the Runner.

Gets the Categories that are associated with the Runner.

Trait Implementations§

Formats the value using the given formatter. Read more
Deserialize this value from the given Serde deserializer. Read more

Auto Trait Implementations§

Blanket Implementations§

Gets the TypeId of self. Read more
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more
Instruments this type with the current Span, returning an Instrumented wrapper. Read more

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.
Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more
Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more