pub struct RunSpec {
pub image: OciRef,
pub command: Vec<String>,
pub env: HashMap<String, String>,
pub mounts: Vec<Mount>,
pub gpu: GpuProfile,
pub working_dir: Option<PathBuf>,
/* private fields */
}Fields§
§image: OciRefOCI reference of the image to run (may carry a pinned digest).
command: Vec<String>§env: HashMap<String, String>§mounts: Vec<Mount>§gpu: GpuProfile§working_dir: Option<PathBuf>Trait Implementations§
Auto Trait Implementations§
impl Freeze for RunSpec
impl RefUnwindSafe for RunSpec
impl Send for RunSpec
impl Sync for RunSpec
impl Unpin for RunSpec
impl UnsafeUnpin for RunSpec
impl UnwindSafe for RunSpec
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