pub struct ExecutionStepErrored {
pub started_at: Option<Timestamp>,
pub started_by: Option<String>,
pub submitted_at: Option<Timestamp>,
pub submitted_by: Option<String>,
pub errored_at: Option<Timestamp>,
pub errored_by: String,
pub error: String,
pub skipped_at: Option<Timestamp>,
pub skipped_by: Option<String>,
pub skip_reason: Option<String>,
pub succeeded_at: Option<Timestamp>,
pub succeeded_by: Option<String>,
}
Expand description
An execution step reaches the ERRORED state if something went wrong while trying to complete the step. This could be due to a badly configured procedure, an error/timeout in the completion condition, or an error/timeout in one of the completion actions. This is a terminal state, the step’s values cannot be modified by the user.
Fields§
§started_at: Option<Timestamp>
Optinal because a step can be skipped -> errored before being started
started_by: Option<String>
§submitted_at: Option<Timestamp>
Optional because a step can be errored before being submitted
submitted_by: Option<String>
§errored_at: Option<Timestamp>
§errored_by: String
§error: String
§skipped_at: Option<Timestamp>
Optional because a step could be skipped but then error while running completion actions
skipped_by: Option<String>
§skip_reason: Option<String>
§succeeded_at: Option<Timestamp>
Optional because a step can succeed but then error while running completion actions
succeeded_by: Option<String>
Implementations§
Source§impl ExecutionStepErrored
impl ExecutionStepErrored
Sourcepub fn started_by(&self) -> &str
pub fn started_by(&self) -> &str
Returns the value of started_by
, or the default value if started_by
is unset.
Sourcepub fn submitted_by(&self) -> &str
pub fn submitted_by(&self) -> &str
Returns the value of submitted_by
, or the default value if submitted_by
is unset.
Sourcepub fn skipped_by(&self) -> &str
pub fn skipped_by(&self) -> &str
Returns the value of skipped_by
, or the default value if skipped_by
is unset.
Sourcepub fn skip_reason(&self) -> &str
pub fn skip_reason(&self) -> &str
Returns the value of skip_reason
, or the default value if skip_reason
is unset.
Sourcepub fn succeeded_by(&self) -> &str
pub fn succeeded_by(&self) -> &str
Returns the value of succeeded_by
, or the default value if succeeded_by
is unset.
Trait Implementations§
Source§impl Clone for ExecutionStepErrored
impl Clone for ExecutionStepErrored
Source§fn clone(&self) -> ExecutionStepErrored
fn clone(&self) -> ExecutionStepErrored
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moreSource§impl Debug for ExecutionStepErrored
impl Debug for ExecutionStepErrored
Source§impl Default for ExecutionStepErrored
impl Default for ExecutionStepErrored
Source§impl Message for ExecutionStepErrored
impl Message for ExecutionStepErrored
Source§fn encoded_len(&self) -> usize
fn encoded_len(&self) -> usize
Source§fn encode(&self, buf: &mut impl BufMut) -> Result<(), EncodeError>where
Self: Sized,
fn encode(&self, buf: &mut impl BufMut) -> Result<(), EncodeError>where
Self: Sized,
Source§fn encode_to_vec(&self) -> Vec<u8> ⓘwhere
Self: Sized,
fn encode_to_vec(&self) -> Vec<u8> ⓘwhere
Self: Sized,
Source§fn encode_length_delimited(
&self,
buf: &mut impl BufMut,
) -> Result<(), EncodeError>where
Self: Sized,
fn encode_length_delimited(
&self,
buf: &mut impl BufMut,
) -> Result<(), EncodeError>where
Self: Sized,
Source§fn encode_length_delimited_to_vec(&self) -> Vec<u8> ⓘwhere
Self: Sized,
fn encode_length_delimited_to_vec(&self) -> Vec<u8> ⓘwhere
Self: Sized,
Source§fn decode(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
fn decode(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
Source§fn decode_length_delimited(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
fn decode_length_delimited(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
Source§fn merge(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
fn merge(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
self
. Read moreSource§fn merge_length_delimited(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
fn merge_length_delimited(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
self
.Source§impl PartialEq for ExecutionStepErrored
impl PartialEq for ExecutionStepErrored
impl StructuralPartialEq for ExecutionStepErrored
Auto Trait Implementations§
impl Freeze for ExecutionStepErrored
impl RefUnwindSafe for ExecutionStepErrored
impl Send for ExecutionStepErrored
impl Sync for ExecutionStepErrored
impl Unpin for ExecutionStepErrored
impl UnwindSafe for ExecutionStepErrored
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
Source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
T
in a tonic::Request