pub struct ProcessInferenceEventNotification {
pub stream_id: String,
pub event: InferenceEvent,
}Expand description
inference/event notification payload (child -> host). The host routes
by stream_id and converts event into the runtime inference stream.
Fields§
§stream_id: String§event: InferenceEventTrait Implementations§
Source§impl Clone for ProcessInferenceEventNotification
impl Clone for ProcessInferenceEventNotification
Source§fn clone(&self) -> ProcessInferenceEventNotification
fn clone(&self) -> ProcessInferenceEventNotification
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<'de> Deserialize<'de> for ProcessInferenceEventNotification
impl<'de> Deserialize<'de> for ProcessInferenceEventNotification
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 ProcessInferenceEventNotification
impl PartialEq for ProcessInferenceEventNotification
Source§fn eq(&self, other: &ProcessInferenceEventNotification) -> bool
fn eq(&self, other: &ProcessInferenceEventNotification) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for ProcessInferenceEventNotification
Auto Trait Implementations§
impl Freeze for ProcessInferenceEventNotification
impl RefUnwindSafe for ProcessInferenceEventNotification
impl Send for ProcessInferenceEventNotification
impl Sync for ProcessInferenceEventNotification
impl Unpin for ProcessInferenceEventNotification
impl UnsafeUnpin for ProcessInferenceEventNotification
impl UnwindSafe for ProcessInferenceEventNotification
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