pub struct StreamOnEvent {
pub event_param: String,
pub body: Vec<Statement>,
}Expand description
Handler for individual events (single data point)
Fields§
§event_param: String§body: Vec<Statement>Trait Implementations§
Source§impl Clone for StreamOnEvent
impl Clone for StreamOnEvent
Source§fn clone(&self) -> StreamOnEvent
fn clone(&self) -> StreamOnEvent
Returns a duplicate of the value. Read more
1.0.0 · 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 StreamOnEvent
impl Debug for StreamOnEvent
Source§impl<'de> Deserialize<'de> for StreamOnEvent
impl<'de> Deserialize<'de> for StreamOnEvent
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 StreamOnEvent
impl RefUnwindSafe for StreamOnEvent
impl Send for StreamOnEvent
impl Sync for StreamOnEvent
impl Unpin for StreamOnEvent
impl UnsafeUnpin for StreamOnEvent
impl UnwindSafe for StreamOnEvent
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