pub struct ComputeCommandV1 {
pub argv: Vec<String>,
pub workdir: String,
}Expand description
The command the sandbox runs.
Fields§
§argv: Vec<String>§workdir: StringRelative to /work, no ..; empty = /work.
Implementations§
Source§impl ComputeCommandV1
impl ComputeCommandV1
pub fn validate(&self) -> Result<(), ValidationError>
Trait Implementations§
Source§impl Clone for ComputeCommandV1
impl Clone for ComputeCommandV1
Source§impl Debug for ComputeCommandV1
impl Debug for ComputeCommandV1
Source§impl<'de> Deserialize<'de> for ComputeCommandV1
impl<'de> Deserialize<'de> for ComputeCommandV1
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 ComputeCommandV1
Source§impl PartialEq for ComputeCommandV1
impl PartialEq for ComputeCommandV1
Source§impl Serialize for ComputeCommandV1
impl Serialize for ComputeCommandV1
impl StructuralPartialEq for ComputeCommandV1
Auto Trait Implementations§
impl Freeze for ComputeCommandV1
impl RefUnwindSafe for ComputeCommandV1
impl Send for ComputeCommandV1
impl Sync for ComputeCommandV1
impl Unpin for ComputeCommandV1
impl UnsafeUnpin for ComputeCommandV1
impl UnwindSafe for ComputeCommandV1
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