pub struct SandboxCommand {
pub number: CommandNumber,
pub command: CommandLine,
pub cwd: Option<String>,
pub env: BTreeMap<String, String>,
pub argv: Option<Vec<String>>,
pub pid: Option<u64>,
pub stdin: CommandStdin,
pub state: CommandState,
pub created_at: Timestamp,
pub started_at: Option<Timestamp>,
pub ended_at: Option<Timestamp>,
}Expand description
A command sent to a sandbox, or one its replay ran again.
Fields§
§number: CommandNumber§command: CommandLineWhat was asked: an argv, or a script.
cwd: Option<String>§env: BTreeMap<String, String>§argv: Option<Vec<String>>The argv that ran, once it started: a script’s, its shell’s.
pid: Option<u64>Its process’s id in the sandbox, once it started.
stdin: CommandStdin§state: CommandState§created_at: TimestampWhen it was sent; a replay’s, when it started.
started_at: Option<Timestamp>§ended_at: Option<Timestamp>Implementations§
Trait Implementations§
Source§impl Clone for SandboxCommand
impl Clone for SandboxCommand
Source§impl Debug for SandboxCommand
impl Debug for SandboxCommand
Source§impl<'de> Deserialize<'de> for SandboxCommand
impl<'de> Deserialize<'de> for SandboxCommand
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 SandboxCommand
Source§impl PartialEq for SandboxCommand
impl PartialEq for SandboxCommand
Source§impl Serialize for SandboxCommand
impl Serialize for SandboxCommand
impl StructuralPartialEq for SandboxCommand
Auto Trait Implementations§
impl Forget for SandboxCommand
impl Freeze for SandboxCommand
impl RefUnwindSafe for SandboxCommand
impl Send for SandboxCommand
impl Sync for SandboxCommand
impl Unpin for SandboxCommand
impl UnsafeUnpin for SandboxCommand
impl UnwindSafe for SandboxCommand
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