pub struct CeremonyInstanceState {Show 38 fields
pub ceremony_id: String,
pub definition_name: String,
pub definition_version: String,
pub bound_definition_digest: String,
pub current_state: String,
pub completed: bool,
pub next_step_id: String,
pub waiting_for_human: Vec<String>,
pub guard_deferrals: Vec<CeremonyGuardDeferralState>,
pub transitions: Vec<CeremonyAvailableTransition>,
pub steps: Vec<CeremonyStepState>,
pub interventions: Vec<CeremonyInterventionState>,
pub open_intervention_ids: Vec<String>,
pub context: Option<Struct>,
pub participant_bindings: Vec<CeremonyParticipantBindingState>,
pub reasons: Vec<CeremonyReasonState>,
pub rehydratable: bool,
pub unrehydratable_reason: String,
pub recollection: Option<CeremonyRecollectionState>,
pub trace_id: String,
pub correlation_id: String,
pub causation_id: String,
pub claimable_step_ids: Vec<String>,
pub current_state_iteration: u32,
pub state_repeat_max_iterations: u32,
pub state_repeat_condition_satisfied: bool,
pub state_repeat_limit_reached: bool,
pub current_state_visit: u32,
pub lineage: Option<CeremonyLineageState>,
pub child_groups: Vec<CeremonyChildGroupState>,
pub lifecycle: String,
pub end_reason: String,
pub paused_at: String,
pub ended_at: String,
pub ceremony_deadline_at: String,
pub state_deadline_at: String,
pub step_deadlines: Vec<CeremonyStepDeadlineState>,
pub budget_account_id: String,
}Fields§
§ceremony_id: String§definition_name: String§definition_version: String§bound_definition_digest: StringDigest of the published definition this instance is bound to. Empty when it was started from a definition supplied for the run: an instance that is not governed must not look governed.
current_state: String§completed: bool§next_step_id: StringThe next step ready to run. Empty when none is.
waiting_for_human: Vec<String>Guards blocking progress that only a person can satisfy. This is the field a client turns into “waiting for you”.
guard_deferrals: Vec<CeremonyGuardDeferralState>§transitions: Vec<CeremonyAvailableTransition>§steps: Vec<CeremonyStepState>§interventions: Vec<CeremonyInterventionState>§open_intervention_ids: Vec<String>§context: Option<Struct>§participant_bindings: Vec<CeremonyParticipantBindingState>Who sits in each seat for this session, where anyone was seated. A role absent here is played the way the definition says, which is the usual case and not a lesser one.
reasons: Vec<CeremonyReasonState>Every reason asserted about this session, in the order they were asserted.
rehydratable: boolWhether the definition this session runs could be resolved, so that everything above describes the session as it stands.
Only a listing can answer false. A session whose definition this store does not hold has its own stream and nothing to render it with, and taking every readable session down with it would be the worse answer; asking for that one by id still fails loudly. Every entry carries the flag, so a caller tests one field rather than inferring readability from a field that is missing.
unrehydratable_reason: StringWhy it could not be, when it could not. Empty otherwise, and only
ever set together with rehydratable = false.
recollection: Option<CeremonyRecollectionState>What earlier sessions in this session’s memory scope decided, as this session was told when it opened.
Unset when it was told nothing, which is every session that
declares no memory_scope in its context: the default scope is
the session’s own id and nobody else writes there. A message
rather than fields on this one, because message presence is what
lets “recalled nothing” differ from “recalled an empty scope”.
trace_id: StringAudit identity of the exact stream head folded into this state.
correlation_id: String§causation_id: String§claimable_step_ids: Vec<String>Every step that may be claimed at this observed instant. Ordered by
declaration. next_step_id remains the first item for compatibility.
current_state_iteration: u32§state_repeat_max_iterations: u32§state_repeat_condition_satisfied: bool§state_repeat_limit_reached: bool§current_state_visit: u32§lineage: Option<CeremonyLineageState>§child_groups: Vec<CeremonyChildGroupState>§lifecycle: String§end_reason: String§paused_at: String§ended_at: String§ceremony_deadline_at: String§state_deadline_at: String§step_deadlines: Vec<CeremonyStepDeadlineState>§budget_account_id: StringRoot-scoped durable budget account. Empty for historical/unbudgeted runs.
Trait Implementations§
Source§impl Clone for CeremonyInstanceState
impl Clone for CeremonyInstanceState
Source§fn clone(&self) -> CeremonyInstanceState
fn clone(&self) -> CeremonyInstanceState
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for CeremonyInstanceState
impl Debug for CeremonyInstanceState
Source§impl Default for CeremonyInstanceState
impl Default for CeremonyInstanceState
Source§fn default() -> CeremonyInstanceState
fn default() -> CeremonyInstanceState
Source§impl Message for CeremonyInstanceState
impl Message for CeremonyInstanceState
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 CeremonyInstanceState
impl PartialEq for CeremonyInstanceState
impl StructuralPartialEq for CeremonyInstanceState
Auto Trait Implementations§
impl Freeze for CeremonyInstanceState
impl RefUnwindSafe for CeremonyInstanceState
impl Send for CeremonyInstanceState
impl Sync for CeremonyInstanceState
impl Unpin for CeremonyInstanceState
impl UnsafeUnpin for CeremonyInstanceState
impl UnwindSafe for CeremonyInstanceState
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
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