pub struct StreamAction {
pub action_type: String,
pub parameters: HashMap<String, Value>,
pub timestamp: u64,
pub rule_name: String,
}Expand description
Action triggered by stream rules
Fields§
§action_type: StringAction type identifier
parameters: HashMap<String, Value>Action parameters
timestamp: u64Timestamp when action was triggered
rule_name: StringRule that triggered this action
Trait Implementations§
Source§impl Clone for StreamAction
impl Clone for StreamAction
Source§fn clone(&self) -> StreamAction
fn clone(&self) -> StreamAction
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 moreAuto Trait Implementations§
impl Freeze for StreamAction
impl RefUnwindSafe for StreamAction
impl Send for StreamAction
impl Sync for StreamAction
impl Unpin for StreamAction
impl UnwindSafe for StreamAction
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