pub struct SagaSummary {
pub saga_id: u64,
pub name: String,
pub state: String,
pub started_at: String,
pub ended_at: Option<String>,
pub failure_reason: Option<String>,
pub step_count: u32,
pub input_json: String,
}Expand description
Operator-facing snapshot of a recent saga, for --diag sagas.
Returned by snapshot_recent. Sorted most-recent-first by
COALESCE(ended_at, started_at).
Fields§
§saga_id: u64§name: String§state: String§started_at: String§ended_at: Option<String>§failure_reason: Option<String>§step_count: u32Count of steps in succeeded or compensated state — i.e.
progress through the saga.
input_json: StringJSON of saga input args, for operator triage.
Trait Implementations§
Source§impl Clone for SagaSummary
impl Clone for SagaSummary
Source§fn clone(&self) -> SagaSummary
fn clone(&self) -> SagaSummary
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for SagaSummary
impl Debug for SagaSummary
Source§impl<'de> Deserialize<'de> for SagaSummary
impl<'de> Deserialize<'de> for SagaSummary
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
Auto Trait Implementations§
impl Freeze for SagaSummary
impl RefUnwindSafe for SagaSummary
impl Send for SagaSummary
impl Sync for SagaSummary
impl Unpin for SagaSummary
impl UnwindSafe for SagaSummary
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