pub struct CallableInvocation {
pub callable_name: String,
pub input: String,
pub context: Option<HashMap<String, String>>,
pub spawn_mode: SpawnMode,
pub priority: u8,
pub timeout_ms: Option<u64>,
}Expand description
CallableInvocation - Request to invoke a callable from another callable @see packages/enact-schemas/src/execution.schemas.ts - callableInvocationSchema
Fields§
§callable_name: StringTarget callable name
input: StringInput to pass
context: Option<HashMap<String, String>>Context to pass
spawn_mode: SpawnModeSpawn mode for child execution
priority: u8Priority (higher = more important)
timeout_ms: Option<u64>Timeout in milliseconds
Trait Implementations§
Source§impl Clone for CallableInvocation
impl Clone for CallableInvocation
Source§fn clone(&self) -> CallableInvocation
fn clone(&self) -> CallableInvocation
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 CallableInvocation
impl Debug for CallableInvocation
Source§impl<'de> Deserialize<'de> for CallableInvocation
impl<'de> Deserialize<'de> for CallableInvocation
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 CallableInvocation
impl RefUnwindSafe for CallableInvocation
impl Send for CallableInvocation
impl Sync for CallableInvocation
impl Unpin for CallableInvocation
impl UnsafeUnpin for CallableInvocation
impl UnwindSafe for CallableInvocation
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