pub struct ExecutionSpec {
pub code: String,
pub ctx: Value,
pub namespace: String,
}Expand description
All information needed to start an execution.
Fields§
§code: StringResolved Lua source code.
ctx: ValueContext passed to Lua as the ctx global.
namespace: StringNamespace for alc.state (from ctx._ns, defaults to “default”).
Implementations§
Trait Implementations§
Source§impl Clone for ExecutionSpec
impl Clone for ExecutionSpec
Source§fn clone(&self) -> ExecutionSpec
fn clone(&self) -> ExecutionSpec
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 ExecutionSpec
impl Debug for ExecutionSpec
Source§impl<'de> Deserialize<'de> for ExecutionSpec
impl<'de> Deserialize<'de> for ExecutionSpec
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 ExecutionSpec
impl RefUnwindSafe for ExecutionSpec
impl Send for ExecutionSpec
impl Sync for ExecutionSpec
impl Unpin for ExecutionSpec
impl UnsafeUnpin for ExecutionSpec
impl UnwindSafe for ExecutionSpec
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