pub struct RuntimeEvent {
pub event: String,
pub target: Option<String>,
pub value: Value,
pub metadata: BTreeMap<String, Value>,
}Expand description
Structured event payload emitted by adapter-managed runtime tasks.
Fields§
§event: String§target: Option<String>§value: Value§metadata: BTreeMap<String, Value>Implementations§
Trait Implementations§
Source§impl Clone for RuntimeEvent
impl Clone for RuntimeEvent
Source§fn clone(&self) -> RuntimeEvent
fn clone(&self) -> RuntimeEvent
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 RuntimeEvent
impl Debug for RuntimeEvent
Source§impl PartialEq for RuntimeEvent
impl PartialEq for RuntimeEvent
Source§fn eq(&self, other: &RuntimeEvent) -> bool
fn eq(&self, other: &RuntimeEvent) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for RuntimeEvent
Auto Trait Implementations§
impl Freeze for RuntimeEvent
impl RefUnwindSafe for RuntimeEvent
impl Send for RuntimeEvent
impl Sync for RuntimeEvent
impl Unpin for RuntimeEvent
impl UnsafeUnpin for RuntimeEvent
impl UnwindSafe for RuntimeEvent
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