pub struct RuntimeInvocation {
pub event: CloudEvent,
pub processing_context: Option<TraceContext>,
pub extension: Option<RuntimeExtension>,
}Expand description
Ephemeral runtime input. The carrier belongs to the current execution span; it does not modify the durable request or its immutable CloudEvent.
Fields§
§event: CloudEvent§processing_context: Option<TraceContext>§extension: Option<RuntimeExtension>Optional platform context, separate from the wholly user-owned event data.
Trait Implementations§
Source§impl Clone for RuntimeInvocation
impl Clone for RuntimeInvocation
Source§impl Debug for RuntimeInvocation
impl Debug for RuntimeInvocation
Source§impl<'de> Deserialize<'de> for RuntimeInvocation
impl<'de> Deserialize<'de> for RuntimeInvocation
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 From<CloudEvent> for RuntimeInvocation
impl From<CloudEvent> for RuntimeInvocation
Source§fn from(event: CloudEvent) -> Self
fn from(event: CloudEvent) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for RuntimeInvocation
impl RefUnwindSafe for RuntimeInvocation
impl Send for RuntimeInvocation
impl Sync for RuntimeInvocation
impl Unpin for RuntimeInvocation
impl UnsafeUnpin for RuntimeInvocation
impl UnwindSafe for RuntimeInvocation
Blanket Implementations§
impl<T> ArtifactLease for T
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