pub struct InvocationEnvelope {
pub ctx: TenantCtx,
pub flow_id: String,
pub node_id: Option<String>,
pub op: String,
pub payload: BinaryPayload,
pub metadata: BinaryPayload,
}Expand description
Normalized ingress payload delivered to nodes.
Fields§
§ctx: TenantCtxTenant context for the invocation.
flow_id: StringFlow identifier the event belongs to.
node_id: Option<String>Optional node identifier within the flow.
op: StringOperation being invoked (for example on_message or tick).
payload: BinaryPayloadNormalized payload for the invocation.
metadata: BinaryPayloadRaw metadata propagated from the ingress surface.
Trait Implementations§
Source§impl Clone for InvocationEnvelope
impl Clone for InvocationEnvelope
Source§fn clone(&self) -> InvocationEnvelope
fn clone(&self) -> InvocationEnvelope
Returns a duplicate of the value. Read more
1.0.0§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for InvocationEnvelope
impl Debug for InvocationEnvelope
Source§impl<'de> Deserialize<'de> for InvocationEnvelope
impl<'de> Deserialize<'de> for InvocationEnvelope
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
Source§impl PartialEq for InvocationEnvelope
impl PartialEq for InvocationEnvelope
Source§impl Serialize for InvocationEnvelope
impl Serialize for InvocationEnvelope
impl Eq for InvocationEnvelope
impl StructuralPartialEq for InvocationEnvelope
Auto Trait Implementations§
impl Freeze for InvocationEnvelope
impl RefUnwindSafe for InvocationEnvelope
impl Send for InvocationEnvelope
impl Sync for InvocationEnvelope
impl Unpin for InvocationEnvelope
impl UnwindSafe for InvocationEnvelope
Blanket Implementations§
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§unsafe fn clone_to_uninit(&self, dest: *mut u8)
unsafe fn clone_to_uninit(&self, dest: *mut u8)
🔬This is a nightly-only experimental API. (
clone_to_uninit)Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.