pub struct ExecutionState {
pub id: String,
pub code: String,
pub status: ExecutionStatus,
pub log: Vec<LogEntry>,
pub result: Option<Value>,
pub error: Option<String>,
pub logs: Vec<String>,
pub connectors: Vec<String>,
pub capabilities: Option<CapabilitySnapshot>,
pub events: Vec<ExecutionEvent>,
pub created_at: u64,
pub updated_at: u64,
}Expand description
Durable state for one sandbox program.
Fields§
§id: StringStable execution identifier.
code: StringOriginal sandbox program.
status: ExecutionStatusCurrent lifecycle status.
log: Vec<LogEntry>Ordered deterministic call log.
result: Option<Value>Final successful result.
error: Option<String>Terminal error.
logs: Vec<String>Captured sandbox console output.
connectors: Vec<String>Connector names available when the run began.
capabilities: Option<CapabilitySnapshot>Full immutable capability snapshot for deterministic resume.
events: Vec<ExecutionEvent>Ordered bounded lifecycle and streaming events.
created_at: u64Creation time in Unix milliseconds.
updated_at: u64Last state transition in Unix milliseconds.
Trait Implementations§
Source§impl Clone for ExecutionState
impl Clone for ExecutionState
Source§fn clone(&self) -> ExecutionState
fn clone(&self) -> ExecutionState
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 ExecutionState
impl Debug for ExecutionState
Source§impl<'de> Deserialize<'de> for ExecutionState
impl<'de> Deserialize<'de> for ExecutionState
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 ExecutionState
impl RefUnwindSafe for ExecutionState
impl Send for ExecutionState
impl Sync for ExecutionState
impl Unpin for ExecutionState
impl UnsafeUnpin for ExecutionState
impl UnwindSafe for ExecutionState
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