pub struct RunRequest {
pub session_id: SessionId,
pub language: Language,
pub code: String,
pub inputs: Map<String, Value>,
pub timeout_ms: Option<u32>,
pub limits: Option<SessionLimits>,
pub return_snapshot: bool,
pub validate_only: bool,
}Fields§
§session_id: SessionId§language: Language§code: String§inputs: Map<String, Value>§timeout_ms: Option<u32>§limits: Option<SessionLimits>§return_snapshot: bool§validate_only: boolImplementations§
Trait Implementations§
Source§impl Clone for RunRequest
impl Clone for RunRequest
Source§fn clone(&self) -> RunRequest
fn clone(&self) -> RunRequest
Returns a duplicate of the value. Read more
1.0.0 · 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 RunRequest
impl Debug for RunRequest
Source§impl Default for RunRequest
impl Default for RunRequest
Source§fn default() -> RunRequest
fn default() -> RunRequest
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for RunRequest
impl<'de> Deserialize<'de> for RunRequest
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 RunRequest
impl RefUnwindSafe for RunRequest
impl Send for RunRequest
impl Sync for RunRequest
impl Unpin for RunRequest
impl UnsafeUnpin for RunRequest
impl UnwindSafe for RunRequest
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