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.

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§

source§

impl Debug for Entry

Formats the value using the given formatter. Read more
source§

impl<'de> Deserialize<'de> for Entry

Deserialize this value from the given Serde deserializer. Read more

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§

source§

impl<T> Any for Twhere
    T: 'static + ?Sized,

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere
    T: ?Sized,

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere
    T: ?Sized,

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

Returns the argument unchanged.

source§

impl<T> Instrument for T

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
source§

impl<T, U> Into<U> for Twhere
    U: From<T>,

Calls U::from(self).

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

source§

impl<T, U> TryFrom<U> for Twhere
    U: Into<T>,

The type returned in the event of a conversion error.
Performs the conversion.
source§

impl<T, U> TryInto<U> for Twhere
    U: TryFrom<T>,

The type returned in the event of a conversion error.
Performs the conversion.
source§

impl<T> WithSubscriber for T

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
source§

impl<T> DeserializeOwned for Twhere
    T: for<'de> Deserialize<'de>,