Struct splits_io_api::Entry
source · pub struct Entry {
pub created_at: Box<str>,
pub creator: Runner,
pub finished_at: Option<Box<str>>,
pub forfeited_at: Option<Box<str>>,
pub ghost: bool,
pub id: Uuid,
pub readied_at: Option<Box<str>>,
pub run: Option<Run>,
pub runner: Runner,
pub updated_at: Box<str>,
}
Expand description
An Entry represents a Runner’s participation in a Race or a ghost of a past Run.
Fields§
§created_at: Box<str>
The time and date at which this Entry was created on splits.io. This field conforms to ISO 8601.
creator: Runner
The user that created this Entry; can be different from runner if the Entry is a ghost.
finished_at: Option<Box<str>>
The time and date at which the runner finished this Race, if at all. This field conforms to ISO 8601.
forfeited_at: Option<Box<str>>
The time and date at which the runner forfeited from this Race, if at all. This field conforms to ISO 8601.
ghost: bool
Whether the Entry represents a past recording of a run (true) or a real user that has entered into the race explicitly (false).
id: Uuid
The unchanging unique ID of this Entry.
readied_at: Option<Box<str>>
The time and date at which the runner readied up in the Race, if at all. This field conforms to ISO 8601.
run: Option<Run>
The Run linked to the current Entry. It has more detailed info about this runner’s run, such as splits and history.
runner: Runner
The user participating in the race. If the entry is a ghost, this can differ from the creator.
updated_at: Box<str>
The time and date at which this Entry was most recently modified on splits.io. This field conforms to ISO 8601.