pub struct EffectExecutionReceiptV1 {
pub schema_version: String,
pub effect_execution_receipt_id: EffectExecutionReceiptId,
pub effect_commit_decision_id: EffectCommitDecisionId,
pub citation: V25ConstitutionCitation,
pub provider_route: Vec<String>,
pub execution_state: ExecutionStateV1,
pub partial_execution: bool,
pub cancellation_reason: String,
pub timeout_exhausted: bool,
pub generated_effect_refs: Vec<String>,
pub observed_external_handle: String,
pub generated_at: String,
}Expand description
Record of an effect’s execution outcome including state, partial-completion flags, and generated side-effects.
The partial_execution flag must be consistent with execution_state,
and completed receipts must not carry a cancellation reason.
Fields§
§schema_version: String§effect_execution_receipt_id: EffectExecutionReceiptId§effect_commit_decision_id: EffectCommitDecisionId§citation: V25ConstitutionCitationCarries EffectiveConstitutionId and CompiledObligationSetId via the canonical v25 citation.
provider_route: Vec<String>§execution_state: ExecutionStateV1§partial_execution: bool§cancellation_reason: String§timeout_exhausted: bool§generated_effect_refs: Vec<String>§observed_external_handle: String§generated_at: StringImplementations§
Source§impl EffectExecutionReceiptV1
impl EffectExecutionReceiptV1
pub const SCHEMA_VERSION: &'static str = "EffectExecutionReceiptV1"
Sourcepub fn builder(
effect_execution_receipt_id: EffectExecutionReceiptId,
effect_commit_decision_id: EffectCommitDecisionId,
citation: V25ConstitutionCitation,
provider_route: Vec<String>,
execution_state: ExecutionStateV1,
partial_execution: bool,
cancellation_reason: impl Into<String>,
timeout_exhausted: bool,
generated_effect_refs: Vec<String>,
observed_external_handle: impl Into<String>,
generated_at: impl Into<String>,
) -> EffectExecutionReceiptV1Builder
pub fn builder( effect_execution_receipt_id: EffectExecutionReceiptId, effect_commit_decision_id: EffectCommitDecisionId, citation: V25ConstitutionCitation, provider_route: Vec<String>, execution_state: ExecutionStateV1, partial_execution: bool, cancellation_reason: impl Into<String>, timeout_exhausted: bool, generated_effect_refs: Vec<String>, observed_external_handle: impl Into<String>, generated_at: impl Into<String>, ) -> EffectExecutionReceiptV1Builder
Returns a builder for a validated execution receipt artifact.
Sourcepub fn validate(&self) -> EffectValidationResult
pub fn validate(&self) -> EffectValidationResult
Validates the owner-side invariants for an execution receipt.
Trait Implementations§
Source§impl Clone for EffectExecutionReceiptV1
impl Clone for EffectExecutionReceiptV1
Source§fn clone(&self) -> EffectExecutionReceiptV1
fn clone(&self) -> EffectExecutionReceiptV1
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 EffectExecutionReceiptV1
impl Debug for EffectExecutionReceiptV1
Source§impl<'de> Deserialize<'de> for EffectExecutionReceiptV1
impl<'de> Deserialize<'de> for EffectExecutionReceiptV1
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
Source§impl JsonSchema for EffectExecutionReceiptV1
impl JsonSchema for EffectExecutionReceiptV1
Source§fn schema_name() -> String
fn schema_name() -> String
The name of the generated JSON Schema. Read more
Source§fn schema_id() -> Cow<'static, str>
fn schema_id() -> Cow<'static, str>
Returns a string that uniquely identifies the schema produced by this type. Read more
Source§fn json_schema(generator: &mut SchemaGenerator) -> Schema
fn json_schema(generator: &mut SchemaGenerator) -> Schema
Generates a JSON Schema for this type. Read more
Source§fn is_referenceable() -> bool
fn is_referenceable() -> bool
Whether JSON Schemas generated for this type should be re-used where possible using the
$ref keyword. Read moreSource§impl PartialEq for EffectExecutionReceiptV1
impl PartialEq for EffectExecutionReceiptV1
Source§fn eq(&self, other: &EffectExecutionReceiptV1) -> bool
fn eq(&self, other: &EffectExecutionReceiptV1) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for EffectExecutionReceiptV1
impl Serialize for EffectExecutionReceiptV1
impl StructuralPartialEq for EffectExecutionReceiptV1
Auto Trait Implementations§
impl Freeze for EffectExecutionReceiptV1
impl RefUnwindSafe for EffectExecutionReceiptV1
impl Send for EffectExecutionReceiptV1
impl Sync for EffectExecutionReceiptV1
impl Unpin for EffectExecutionReceiptV1
impl UnsafeUnpin for EffectExecutionReceiptV1
impl UnwindSafe for EffectExecutionReceiptV1
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