[][src]Struct cortex::models::RunMetadataStack

pub struct RunMetadataStack {
    pub severity: String,
    pub severity_numeric: i32,
    pub percent: f32,
    pub total: i32,
    pub start_time: String,
    pub end_time: String,
    pub owner: String,
    pub description: String,
}

A JSON-friendly data structure, used for vega-lite Stack figures https://vega.github.io/vega-lite/docs/stack.html

Fields

severity: String

type of messages

severity_numeric: i32

raw severity index

percent: f32

percent to total

total: i32

total number of jobs

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 RunMetadataStack[src]

pub fn transform(runs_meta: &[RunMetadata]) -> Vec<RunMetadataStack>[src]

Transforms to a vega-lite Stack -near representation

Trait Implementations

impl Clone for RunMetadataStack[src]

impl Debug for RunMetadataStack[src]

impl Serialize for RunMetadataStack[src]

Auto Trait Implementations

impl RefUnwindSafe for RunMetadataStack

impl Send for RunMetadataStack

impl Sync for RunMetadataStack

impl Unpin for RunMetadataStack

impl UnwindSafe for RunMetadataStack

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