pub struct SandboxDecisionDataSpawnCompleted {
pub backend: SandboxBackend,
pub control: SandboxControl,
pub degradation_reason: Option<SandboxDegradationReason>,
pub duration_ms: f64,
pub enforcement_point: SandboxEnforcementPoint,
pub kind: SandboxDecisionDataSpawnCompletedKind,
pub outcome: SandboxOutcome,
pub platform: SandboxPlatform,
pub tool_call_id: Option<String>,
}Fields§
§backend: SandboxBackendProcess-containment implementation backing the sandbox
control: SandboxControlEnforcement mechanism this decision describes
degradation_reason: Option<SandboxDegradationReason>Why enforcement is weaker than configured, when it is
duration_ms: f64Wall-clock time spent spawning the sandboxed process, in milliseconds
enforcement_point: SandboxEnforcementPointRuntime subsystem that applied the policy
kind: SandboxDecisionDataSpawnCompletedKindSandbox decision variant discriminator.
outcome: SandboxOutcomeWhether the sandboxed process launched under the named backend. Not the exit status of the command that ran inside it.
platform: SandboxPlatformHost platform the sandbox is running on
tool_call_id: Option<String>Internal tool-call ID, used only to correlate the decision with its owning span. Omitted when the decision is not attributable to a tool call.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for SandboxDecisionDataSpawnCompleted
impl<'de> Deserialize<'de> for SandboxDecisionDataSpawnCompleted
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 SandboxDecisionDataSpawnCompleted
impl RefUnwindSafe for SandboxDecisionDataSpawnCompleted
impl Send for SandboxDecisionDataSpawnCompleted
impl Sync for SandboxDecisionDataSpawnCompleted
impl Unpin for SandboxDecisionDataSpawnCompleted
impl UnsafeUnpin for SandboxDecisionDataSpawnCompleted
impl UnwindSafe for SandboxDecisionDataSpawnCompleted
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