pub struct ToolCtx {Show 21 fields
pub trace_ctx: TraceCtx,
pub attempt_id: AttemptId,
pub trial_id: TrialId,
pub deadline: Option<String>,
pub workload_class: Option<String>,
pub budget_context: Option<ToolBudgetContext>,
pub scope: Option<ScopeKey>,
pub dry_run: bool,
pub approval_grant: Option<ApprovalGrant>,
pub execution_permit: Option<Arc<ToolExecutionPermit>>,
pub idempotency_key: Option<String>,
pub caller: String,
pub planner_stage: ToolPlannerStage,
pub parent_receipt_id: Option<String>,
pub family_receipt_id: Option<String>,
pub replay_parent_receipt_id: Option<String>,
pub remote_oracle_lease_id: Option<RemoteOracleLeaseId>,
pub remote_slice_result_id: Option<RemoteSliceResultId>,
pub attestation_envelope_id: Option<AttestationEnvelopeId>,
pub cross_runtime_replay_ticket_id: Option<CrossRuntimeReplayTicketId>,
pub retry_owner: Option<ToolRetryOwner>,
}Fields§
§trace_ctx: TraceCtx§attempt_id: AttemptId§trial_id: TrialId§deadline: Option<String>§workload_class: Option<String>§budget_context: Option<ToolBudgetContext>§scope: Option<ScopeKey>§dry_run: bool§approval_grant: Option<ApprovalGrant>§execution_permit: Option<Arc<ToolExecutionPermit>>§idempotency_key: Option<String>§caller: String§planner_stage: ToolPlannerStage§parent_receipt_id: Option<String>§family_receipt_id: Option<String>§replay_parent_receipt_id: Option<String>§remote_oracle_lease_id: Option<RemoteOracleLeaseId>§remote_slice_result_id: Option<RemoteSliceResultId>§attestation_envelope_id: Option<AttestationEnvelopeId>§cross_runtime_replay_ticket_id: Option<CrossRuntimeReplayTicketId>§retry_owner: Option<ToolRetryOwner>Trait Implementations§
Source§impl<'de> Deserialize<'de> for ToolCtx
impl<'de> Deserialize<'de> for ToolCtx
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
Auto Trait Implementations§
impl Freeze for ToolCtx
impl RefUnwindSafe for ToolCtx
impl Send for ToolCtx
impl Sync for ToolCtx
impl Unpin for ToolCtx
impl UnsafeUnpin for ToolCtx
impl UnwindSafe for ToolCtx
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