Skip to main content

RunView

Struct RunView 

Source
pub struct RunView {
Show 14 fields pub panel: Panel, pub owner_name: String, pub runs: Vec<(String, Status, String)>, pub idx: usize, pub data: Option<DetailData>, pub show_raw: bool, pub scroll: u16, pub live: bool, pub output: Option<String>, pub show_output: bool, pub show_timeline: bool, pub show_dag: bool, pub show_grid: bool, pub grid: Option<Result<GridData, String>>, /* private fields */
}
Expand description

Drill-down into a single job run or pipeline update, layered over the owning detail view.

Fields§

§panel: Panel

Panel::Jobs (runs) or Panel::Pipelines (updates).

§owner_name: String§runs: Vec<(String, Status, String)>

Recent runs newest-first: (run_id, status, age).

§idx: usize

Which of runs is shown.

§data: Option<DetailData>§show_raw: bool§scroll: u16§live: bool

True while the shown run is still executing — drives auto-refresh.

§output: Option<String>

Full per-task output/logs, fetched on demand via o.

§show_output: bool§show_timeline: bool

Gantt view of per-task execution windows; sticky across h/l so runs can be compared.

§show_dag: bool

Dependency-tree view of the run’s tasks; mutually exclusive with the timeline, sticky across h/l like it.

§show_grid: bool

History grid: tasks × recent runs, with duration trends. Fetched once per run view (the grid is per-job, not per-run).

§grid: Option<Result<GridData, String>>

Auto Trait Implementations§

Blanket Implementations§

Source§

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

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

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

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

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

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

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

Source§

fn into(self) -> U

Calls U::from(self).

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

Source§

impl<T> IntoEither for T

Source§

fn into_either(self, into_left: bool) -> Either<Self, Self>

Converts self into a Left variant of Either<Self, Self> if into_left is true. Converts self into a Right variant of Either<Self, Self> otherwise. Read more
Source§

fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
where F: FnOnce(&Self) -> bool,

Converts self into a Left variant of Either<Self, Self> if into_left(&self) returns true. Converts self into a Right variant of Either<Self, Self> otherwise. Read more
Source§

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

Source§

type Error = Infallible

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

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

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

Source§

type Error = <U as TryFrom<T>>::Error

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

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.