pub struct ProcedureExecutionMetadata {Show 20 fields
pub rid: String,
pub procedure_rid: String,
pub procedure_commit_id: String,
pub title: String,
pub description: Option<String>,
pub labels: Vec<String>,
pub properties: HashMap<String, String>,
pub created_by: String,
pub created_at: Option<Timestamp>,
pub updated_by: String,
pub updated_at: Option<Timestamp>,
pub started_at: Option<Timestamp>,
pub started_by: Option<String>,
pub finished_at: Option<Timestamp>,
pub finished_by: Option<String>,
pub aborted_at: Option<Timestamp>,
pub aborted_by: Option<String>,
pub failed_at: Option<Timestamp>,
pub failed_by: Option<String>,
pub failed_reason: Option<String>,
}
Fields§
§rid: String
§procedure_rid: String
The procedure template rid this execution is based on.
procedure_commit_id: String
The commit ID of the procedure template this execution is based on. This can be overridden at the node level for individual nodes.
title: String
§description: Option<String>
§labels: Vec<String>
§properties: HashMap<String, String>
§created_by: String
§created_at: Option<Timestamp>
§updated_by: String
§updated_at: Option<Timestamp>
§started_at: Option<Timestamp>
Will be unset until the execution transitions from NOT_STARTED to IN_PROGRESS.
started_by: Option<String>
§finished_at: Option<Timestamp>
Will be unset until the execution transitions from IN_PROGRESS to a terminal state.
finished_by: Option<String>
§aborted_at: Option<Timestamp>
Will be true/set if the execution is the ABORTED terminal state.
aborted_by: Option<String>
§failed_at: Option<Timestamp>
Will be set if the execution is in the ERRORED terminal state.
failed_by: Option<String>
§failed_reason: Option<String>
Implementations§
Source§impl ProcedureExecutionMetadata
impl ProcedureExecutionMetadata
Sourcepub fn description(&self) -> &str
pub fn description(&self) -> &str
Returns the value of description
, or the default value if description
is unset.
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 finished_by(&self) -> &str
pub fn finished_by(&self) -> &str
Returns the value of finished_by
, or the default value if finished_by
is unset.
Sourcepub fn aborted_by(&self) -> &str
pub fn aborted_by(&self) -> &str
Returns the value of aborted_by
, or the default value if aborted_by
is unset.
Sourcepub fn failed_by(&self) -> &str
pub fn failed_by(&self) -> &str
Returns the value of failed_by
, or the default value if failed_by
is unset.
Sourcepub fn failed_reason(&self) -> &str
pub fn failed_reason(&self) -> &str
Returns the value of failed_reason
, or the default value if failed_reason
is unset.
Trait Implementations§
Source§impl Clone for ProcedureExecutionMetadata
impl Clone for ProcedureExecutionMetadata
Source§fn clone(&self) -> ProcedureExecutionMetadata
fn clone(&self) -> ProcedureExecutionMetadata
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moreSource§impl Debug for ProcedureExecutionMetadata
impl Debug for ProcedureExecutionMetadata
Source§impl Default for ProcedureExecutionMetadata
impl Default for ProcedureExecutionMetadata
Source§impl Message for ProcedureExecutionMetadata
impl Message for ProcedureExecutionMetadata
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
.impl StructuralPartialEq for ProcedureExecutionMetadata
Auto Trait Implementations§
impl Freeze for ProcedureExecutionMetadata
impl RefUnwindSafe for ProcedureExecutionMetadata
impl Send for ProcedureExecutionMetadata
impl Sync for ProcedureExecutionMetadata
impl Unpin for ProcedureExecutionMetadata
impl UnwindSafe for ProcedureExecutionMetadata
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