pub struct StartPythonExecutionRequest {
pub vm_id: String,
pub context_id: String,
pub code: String,
pub file_path: Option<PathBuf>,
pub env: BTreeMap<String, String>,
pub cwd: PathBuf,
pub limits: PythonExecutionLimits,
pub guest_runtime: GuestRuntimeConfig,
}Fields§
§vm_id: String§context_id: String§code: String§file_path: Option<PathBuf>§env: BTreeMap<String, String>§cwd: PathBuf§limits: PythonExecutionLimitsPer-execution runtime limits (see PythonExecutionLimits).
guest_runtime: GuestRuntimeConfigPer-execution guest-runtime config, forwarded to the Pyodide runner’s JS
execution (see GuestRuntimeConfig).
Trait Implementations§
Source§impl Clone for StartPythonExecutionRequest
impl Clone for StartPythonExecutionRequest
Source§fn clone(&self) -> StartPythonExecutionRequest
fn clone(&self) -> StartPythonExecutionRequest
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 StartPythonExecutionRequest
impl Debug for StartPythonExecutionRequest
impl Eq for StartPythonExecutionRequest
Source§impl PartialEq for StartPythonExecutionRequest
impl PartialEq for StartPythonExecutionRequest
Source§fn eq(&self, other: &StartPythonExecutionRequest) -> bool
fn eq(&self, other: &StartPythonExecutionRequest) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for StartPythonExecutionRequest
Auto Trait Implementations§
impl Freeze for StartPythonExecutionRequest
impl RefUnwindSafe for StartPythonExecutionRequest
impl Send for StartPythonExecutionRequest
impl Sync for StartPythonExecutionRequest
impl Unpin for StartPythonExecutionRequest
impl UnsafeUnpin for StartPythonExecutionRequest
impl UnwindSafe for StartPythonExecutionRequest
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