pub struct ClientSagaInstanceView {Show 16 fields
pub saga_id: String,
pub saga_name: String,
pub execution_role: String,
pub status: ClientSagaStatus,
pub disposition: ClientSagaDisposition,
pub revision: u64,
pub fencing_token: u64,
pub current_step_index: u16,
pub cancel_requested: bool,
pub retry_count: u8,
pub step_count: u64,
pub terminal_outcome_name: Option<String>,
pub diagnostic_reason: Option<String>,
pub step_ledger: Vec<ClientCommittedSagaStep>,
pub step_ledger_json: String,
pub terminal_outcome_json: String,
}Expand description
Public client view of one durable saga instance (ADR-0334).
Fields§
§saga_id: StringDurable UUIDv7 saga identifier.
saga_name: StringCompiled saga symbol.
execution_role: StringDeclared execution role.
status: ClientSagaStatusCurrent durable lifecycle status.
disposition: ClientSagaDispositionAdmission or observation disposition.
revision: u64Monotonic saga state revision.
fencing_token: u64Monotonic worker fencing token.
current_step_index: u16Current step index in the compiled saga plan.
cancel_requested: boolWhether explicit cancellation has been requested.
retry_count: u8Current step retry count.
step_count: u64Total committed step count in the durable ledger.
terminal_outcome_name: Option<String>Terminal outcome variant name when completed, aborted, or compensated.
diagnostic_reason: Option<String>Diagnostic reason when blocked or failed.
step_ledger: Vec<ClientCommittedSagaStep>Committed forward and compensating steps in execution order.
step_ledger_json: StringRaw JSON array of committed step ledger entries.
terminal_outcome_json: StringRaw JSON object of terminal outcome fields when present.
Trait Implementations§
Source§impl Clone for ClientSagaInstanceView
impl Clone for ClientSagaInstanceView
Source§fn clone(&self) -> ClientSagaInstanceView
fn clone(&self) -> ClientSagaInstanceView
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 ClientSagaInstanceView
impl Debug for ClientSagaInstanceView
impl Eq for ClientSagaInstanceView
Source§impl PartialEq for ClientSagaInstanceView
impl PartialEq for ClientSagaInstanceView
impl StructuralPartialEq for ClientSagaInstanceView
Auto Trait Implementations§
impl Freeze for ClientSagaInstanceView
impl RefUnwindSafe for ClientSagaInstanceView
impl Send for ClientSagaInstanceView
impl Sync for ClientSagaInstanceView
impl Unpin for ClientSagaInstanceView
impl UnsafeUnpin for ClientSagaInstanceView
impl UnwindSafe for ClientSagaInstanceView
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<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
Wrap the input message
T in a tonic::Request§impl<L> LayerExt<L> for L
impl<L> LayerExt<L> for L
§fn named_layer<S>(&self, service: S) -> Layered<<L as Layer<S>>::Service, S>where
L: Layer<S>,
fn named_layer<S>(&self, service: S) -> Layered<<L as Layer<S>>::Service, S>where
L: Layer<S>,
Applies the layer to a service and wraps it in [
Layered].