Struct splits_io_api::Category

source ·
pub struct Category {
    pub created_at: Box<str>,
    pub id: Box<str>,
    pub name: Box<str>,
    pub updated_at: Box<str>,
}
Expand description

A Category is a ruleset for a Game (Any%, 100%, MST, etc.) and an optional container for Runs.

API Documentation

Fields§

§created_at: Box<str>

The time and date at which this category was created on Splits.io. This field conforms to ISO 8601.

§id: Box<str>

The unique ID of the category.

§name: Box<str>

The name of the category.

§updated_at: Box<str>

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

Implementations§

Gets a Category.

Gets the Runners that belong to the Category.

Gets the Runs that belong to the Category.

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