[][src]Struct cortex::models::RunMetadata

pub struct RunMetadata {
    pub total: i32,
    pub invalid: i32,
    pub fatal: i32,
    pub error: i32,
    pub warning: i32,
    pub no_problem: i32,
    pub in_progress: i32,
    pub start_time: String,
    pub end_time: String,
    pub owner: String,
    pub description: String,
}

A JSON-friendly data structure, used for the frontend reports

Fields

total: i32

total tasks in run

invalid: i32

invalid tasks in run

fatal: i32

fatak tasks in run

error: i32

error tasks in run

warning: i32

warning tasks in run

no_problem: i32

no_problem tasks in run

in_progress: i32

in_progress tasks in run

start_time: String

start time of run, formatted for a report

end_time: String

end time of run, formatted for a report

owner: String

initiator of the run

description: String

description of the run

Implementations

impl RunMetadata[src]

pub fn field_f32(&self, field: &str) -> f32[src]

f32 type cast for the run frequency fields

Trait Implementations

impl Clone for RunMetadata[src]

impl Debug for RunMetadata[src]

impl From<HistoricalRun> for RunMetadata[src]

impl Serialize for RunMetadata[src]

Auto Trait Implementations

impl RefUnwindSafe for RunMetadata

impl Send for RunMetadata

impl Sync for RunMetadata

impl Unpin for RunMetadata

impl UnwindSafe for RunMetadata

Blanket Implementations

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

impl<T, I> AsResult<T, I> for T where
    I: Input, 

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

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

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

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

impl<T> IntoCollection<T> for T

impl<T> IntoSql for T

impl<T> Same<T> for T

type Output = T

Should always be Self

impl<T> Sealed<T> for T where
    T: ?Sized

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

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.

impl<T> Typeable for T where
    T: Any

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,