pub struct FailureSummary {
pub step: Option<u32>,
pub exit_code: Option<i64>,
pub excerpt: Option<Vec<StyledLine>>,
pub shell: Option<String>,
}Expand description
What a failed job’s log says of its failure. Each part is absent where the evidence is.
Fields§
§step: Option<u32>The first step GitHub reports failed.
exit_code: Option<i64>The exit code the runner printed in that step’s lines.
excerpt: Option<Vec<StyledLine>>That step’s last lines; absent when which lines are its is unknown.
shell: Option<String>The command that opens a shell in the job’s record, while it is kept: runnerctl shell 42.
Implementations§
Trait Implementations§
Source§impl Clone for FailureSummary
impl Clone for FailureSummary
Source§impl Debug for FailureSummary
impl Debug for FailureSummary
Source§impl<'de> Deserialize<'de> for FailureSummary
impl<'de> Deserialize<'de> for FailureSummary
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for FailureSummary
Source§impl PartialEq for FailureSummary
impl PartialEq for FailureSummary
Source§impl Serialize for FailureSummary
impl Serialize for FailureSummary
impl StructuralPartialEq for FailureSummary
Auto Trait Implementations§
impl Forget for FailureSummary
impl Freeze for FailureSummary
impl Move for FailureSummary
impl RefUnwindSafe for FailureSummary
impl Send for FailureSummary
impl Sync for FailureSummary
impl Unpin for FailureSummary
impl UnsafeUnpin for FailureSummary
impl UnwindSafe for FailureSummary
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.