pub struct ActionRunJobStep {
pub name: Option<String>,
pub number: Option<i64>,
pub started: Option<OffsetDateTime>,
pub status: Option<String>,
pub stopped: Option<OffsetDateTime>,
}Expand description
ActionRunJobStep is a step in a workflow job’s execution. The slice on
ActionRunJob.Steps always includes a “Set up job” entry at number=0 and a
“Complete job” entry as the last element; the entries in between are the
workflow’s real steps in declaration order. The Number field is the value
accepted by the job-logs endpoint’s ?step= filter.
Fields§
§name: Option<String>step name (workflow YAML name: for real steps; “Set up job” and
“Complete job” for the head and tail respectively)
number: Option<i64>position in the job’s step list. 0 is the “Set up job” entry; the last
index is the “Complete job” entry; real steps are numbered 1..N in
declaration order.
started: Option<OffsetDateTime>when the step started
status: Option<String>step status (success, failure, running, waiting, skipped, cancelled, …)
stopped: Option<OffsetDateTime>when the step stopped
Trait Implementations§
Source§impl Clone for ActionRunJobStep
impl Clone for ActionRunJobStep
Source§impl Debug for ActionRunJobStep
impl Debug for ActionRunJobStep
Source§impl<'de> Deserialize<'de> for ActionRunJobStep
impl<'de> Deserialize<'de> for ActionRunJobStep
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
Source§impl PartialEq for ActionRunJobStep
impl PartialEq for ActionRunJobStep
Source§impl Serialize for ActionRunJobStep
impl Serialize for ActionRunJobStep
impl StructuralPartialEq for ActionRunJobStep
Auto Trait Implementations§
impl Freeze for ActionRunJobStep
impl RefUnwindSafe for ActionRunJobStep
impl Send for ActionRunJobStep
impl Sync for ActionRunJobStep
impl Unpin for ActionRunJobStep
impl UnsafeUnpin for ActionRunJobStep
impl UnwindSafe for ActionRunJobStep
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