[][src]Struct splits_io_api::Entry

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>,
}

An Entry represents a Runner's participation in a Race or a ghost of a past Run.

API Documentation

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.

Trait Implementations

impl Debug for Entry[src]

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

Auto Trait Implementations

impl RefUnwindSafe for Entry

impl Send for Entry

impl Sync for Entry

impl Unpin for Entry

impl UnwindSafe for Entry

Blanket Implementations

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

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

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

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

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

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.