pub struct ExecutionContextEnvelopeV1 {Show 21 fields
pub execution_id: ArtifactId,
pub trace_id: ArtifactId,
pub span_id: String,
pub operation_id: String,
pub attempt_family_id: ArtifactId,
pub retry_family_id: ArtifactId,
pub queue_lineage: Vec<String>,
pub provider_route: String,
pub tool_route: String,
pub environment_fingerprint: String,
pub started_at: DateTime<Utc>,
pub completed_at: Option<DateTime<Utc>>,
pub budget_millis_allocated: u64,
pub budget_millis_consumed: u64,
pub deadline_status: String,
pub completion_state: ExecutionCompletionStateV1,
pub replay_handle: String,
pub non_replayability_reason: Option<String>,
pub redaction_state: String,
pub degradation_refs: Vec<ArtifactId>,
pub reason_codes: Vec<String>,
}Fields§
§execution_id: ArtifactId§trace_id: ArtifactId§span_id: String§operation_id: String§attempt_family_id: ArtifactId§retry_family_id: ArtifactId§queue_lineage: Vec<String>§provider_route: String§tool_route: String§environment_fingerprint: String§started_at: DateTime<Utc>§completed_at: Option<DateTime<Utc>>§budget_millis_allocated: u64§budget_millis_consumed: u64§deadline_status: String§completion_state: ExecutionCompletionStateV1§replay_handle: String§non_replayability_reason: Option<String>§redaction_state: String§degradation_refs: Vec<ArtifactId>§reason_codes: Vec<String>Implementations§
Source§impl ExecutionContextEnvelopeV1
impl ExecutionContextEnvelopeV1
pub fn local_started( operation_id: impl Into<String>, attempt_family_id: ArtifactId, provider_route: impl Into<String>, tool_route: impl Into<String>, ) -> Self
pub fn as_ref(&self) -> ExecutionContextRefV1
pub fn complete( self, state: ExecutionCompletionStateV1, consumed_millis: u64, ) -> Self
pub fn terminal_budget_is_enforced(&self) -> bool
Trait Implementations§
Source§impl Clone for ExecutionContextEnvelopeV1
impl Clone for ExecutionContextEnvelopeV1
Source§fn clone(&self) -> ExecutionContextEnvelopeV1
fn clone(&self) -> ExecutionContextEnvelopeV1
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 ExecutionContextEnvelopeV1
impl Debug for ExecutionContextEnvelopeV1
Source§impl<'de> Deserialize<'de> for ExecutionContextEnvelopeV1
impl<'de> Deserialize<'de> for ExecutionContextEnvelopeV1
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 ExecutionContextEnvelopeV1
Source§impl JsonSchema for ExecutionContextEnvelopeV1
impl JsonSchema for ExecutionContextEnvelopeV1
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 ExecutionContextEnvelopeV1
impl PartialEq for ExecutionContextEnvelopeV1
Source§fn eq(&self, other: &ExecutionContextEnvelopeV1) -> bool
fn eq(&self, other: &ExecutionContextEnvelopeV1) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for ExecutionContextEnvelopeV1
Auto Trait Implementations§
impl Freeze for ExecutionContextEnvelopeV1
impl RefUnwindSafe for ExecutionContextEnvelopeV1
impl Send for ExecutionContextEnvelopeV1
impl Sync for ExecutionContextEnvelopeV1
impl Unpin for ExecutionContextEnvelopeV1
impl UnsafeUnpin for ExecutionContextEnvelopeV1
impl UnwindSafe for ExecutionContextEnvelopeV1
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