pub struct ProgramSourceOptions {
pub dispatch: String,
pub execution_id: String,
pub timeout_ms: Option<u64>,
}Expand description
Adapter-specific settings for the shared Code Mode JavaScript harness.
Fields§
§dispatch: StringJavaScript expression that evaluates to the asynchronous dispatch function.
execution_id: StringJavaScript expression exposed as codemode.executionId.
timeout_ms: Option<u64>Optional JavaScript timer timeout for hosts that provide setTimeout.
Trait Implementations§
Source§impl Clone for ProgramSourceOptions
impl Clone for ProgramSourceOptions
Source§fn clone(&self) -> ProgramSourceOptions
fn clone(&self) -> ProgramSourceOptions
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 moreAuto Trait Implementations§
impl Freeze for ProgramSourceOptions
impl RefUnwindSafe for ProgramSourceOptions
impl Send for ProgramSourceOptions
impl Sync for ProgramSourceOptions
impl Unpin for ProgramSourceOptions
impl UnsafeUnpin for ProgramSourceOptions
impl UnwindSafe for ProgramSourceOptions
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