pub struct OperatorInvocationReceiptV1 {
pub receipt_id: ArtifactId,
pub operator_id: String,
pub execution_context_ref: ExecutionContextRefV1,
pub input_manifest: ArtifactManifestV1,
pub output_manifest: ArtifactManifestV1,
pub tool_call_receipt_refs: Vec<ArtifactId>,
pub completion_state: ExecutionCompletionStateV1,
pub material_done: bool,
pub proof_debt_refs: Vec<ArtifactId>,
pub degradation_refs: Vec<ArtifactId>,
pub reason_codes: Vec<String>,
pub recorded_at: DateTime<Utc>,
}Fields§
§receipt_id: ArtifactId§operator_id: String§execution_context_ref: ExecutionContextRefV1§input_manifest: ArtifactManifestV1§output_manifest: ArtifactManifestV1§tool_call_receipt_refs: Vec<ArtifactId>§completion_state: ExecutionCompletionStateV1§material_done: bool§proof_debt_refs: Vec<ArtifactId>§degradation_refs: Vec<ArtifactId>§reason_codes: Vec<String>§recorded_at: DateTime<Utc>Implementations§
Source§impl OperatorInvocationReceiptV1
impl OperatorInvocationReceiptV1
pub fn material_done( operator_id: impl Into<String>, context: &ExecutionContextEnvelopeV1, input_manifest: ArtifactManifestV1, output_manifest: ArtifactManifestV1, tool_call_receipt_refs: Vec<ArtifactId>, ) -> Result<Self, String>
Trait Implementations§
Source§impl Clone for OperatorInvocationReceiptV1
impl Clone for OperatorInvocationReceiptV1
Source§fn clone(&self) -> OperatorInvocationReceiptV1
fn clone(&self) -> OperatorInvocationReceiptV1
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 OperatorInvocationReceiptV1
impl Debug for OperatorInvocationReceiptV1
Source§impl<'de> Deserialize<'de> for OperatorInvocationReceiptV1
impl<'de> Deserialize<'de> for OperatorInvocationReceiptV1
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
impl Eq for OperatorInvocationReceiptV1
Source§impl JsonSchema for OperatorInvocationReceiptV1
impl JsonSchema for OperatorInvocationReceiptV1
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 OperatorInvocationReceiptV1
impl PartialEq for OperatorInvocationReceiptV1
Source§fn eq(&self, other: &OperatorInvocationReceiptV1) -> bool
fn eq(&self, other: &OperatorInvocationReceiptV1) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for OperatorInvocationReceiptV1
Auto Trait Implementations§
impl Freeze for OperatorInvocationReceiptV1
impl RefUnwindSafe for OperatorInvocationReceiptV1
impl Send for OperatorInvocationReceiptV1
impl Sync for OperatorInvocationReceiptV1
impl Unpin for OperatorInvocationReceiptV1
impl UnsafeUnpin for OperatorInvocationReceiptV1
impl UnwindSafe for OperatorInvocationReceiptV1
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