pub struct ProcessExecutionContext {
pub causal_invocation: Option<RuntimeInvocation>,
pub wake_target_scope: Option<ProcessScope>,
}Expand description
Execution-local context for a process start effect. This is not part of the durable process row.
Fields§
§causal_invocation: Option<RuntimeInvocation>§wake_target_scope: Option<ProcessScope>Implementations§
Source§impl ProcessExecutionContext
impl ProcessExecutionContext
pub fn with_causal_invocation( self, invocation: Option<RuntimeInvocation>, ) -> Self
pub fn with_wake_target_scope(self, scope: ProcessScope) -> Self
pub fn is_empty(&self) -> bool
Trait Implementations§
Source§impl Clone for ProcessExecutionContext
impl Clone for ProcessExecutionContext
Source§fn clone(&self) -> ProcessExecutionContext
fn clone(&self) -> ProcessExecutionContext
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 ProcessExecutionContext
impl Debug for ProcessExecutionContext
Source§impl Default for ProcessExecutionContext
impl Default for ProcessExecutionContext
Source§fn default() -> ProcessExecutionContext
fn default() -> ProcessExecutionContext
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ProcessExecutionContext
impl<'de> Deserialize<'de> for ProcessExecutionContext
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 ProcessExecutionContext
impl RefUnwindSafe for ProcessExecutionContext
impl Send for ProcessExecutionContext
impl Sync for ProcessExecutionContext
impl Unpin for ProcessExecutionContext
impl UnsafeUnpin for ProcessExecutionContext
impl UnwindSafe for ProcessExecutionContext
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