Struct RunResult

Source
pub struct RunResult {
Show 20 fields pub schema_version: u32, pub kind: String, pub site: String, pub target: String, pub build_type: String, pub run_id: String, pub list: String, pub log_dir: String, pub started_at: String, pub ended_at: String, pub exit_code: i32, pub sharded: bool, pub counts: BTreeMap<String, usize>, pub not_configured: Vec<String>, pub admission: Vec<AdmissionResult>, pub phases: Vec<PhaseResult>, pub lines: Vec<LineResult>, pub deselected: Vec<Deselected>, pub message: Option<String>, pub interrupted_by: Option<String>,
}
Expand description

The result file run writes: what every phase and line came to.

Fields§

§schema_version: u32

Version of this format, 1.

§kind: String

result.

§site: String

site.name.

§target: String

The target’s name.

§build_type: String

The build type, default without one.

§run_id: String

The run id.

§list: String

The build list, as given.

§log_dir: String

Where the run writes its logs.

§started_at: String

When the run started, in RFC 3339, in UTC.

§ended_at: String

When the run ended, in RFC 3339, in UTC.

§exit_code: i32

The process exit code.

§sharded: bool

Whether the lines were built in the units of a shard plan.

§counts: BTreeMap<String, usize>

How many lines came to each status.

§not_configured: Vec<String>

The phases the site file leaves out.

§admission: Vec<AdmissionResult>

The admission of each unit that went through it, in order.

§phases: Vec<PhaseResult>

Every phase that was reached, in PHASES order.

§lines: Vec<LineResult>

Every line, in the order the run reached them.

§deselected: Vec<Deselected>

Lines the target’s selector left out; not counted as results.

§message: Option<String>

The error that stopped the run, when one did.

§interrupted_by: Option<String>

SIGINT or SIGTERM, when a signal stopped the run.

Trait Implementations§

Source§

impl Clone for RunResult

Source§

fn clone(&self) -> RunResult

Returns a duplicate of the value. Read more
1.0.0 · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl Debug for RunResult

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

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

impl Serialize for RunResult

Source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>
where __S: Serializer,

Serialize this value into the given Serde serializer. Read more

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> CloneToUninit for T
where T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dest: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dest. 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> ToOwned for T
where T: Clone,

Source§

type Owned = T

The resulting type after obtaining ownership.
Source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
Source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. 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.