pub struct Fired {
pub rule: String,
pub edge: Edge,
pub reading: f32,
pub actions: Vec<Action>,
}Expand description
What a rule did on one message.
Fields§
§rule: StringThe rule’s name.
edge: EdgeWhether its condition set or cleared.
reading: f32The reading that did it.
actions: Vec<Action>What the rule calls for on this edge: its then actions when it set and its
otherwise actions when it cleared, in the order the file gives them.
Trait Implementations§
impl StructuralPartialEq for Fired
Auto Trait Implementations§
impl Freeze for Fired
impl RefUnwindSafe for Fired
impl Send for Fired
impl Sync for Fired
impl Unpin for Fired
impl UnsafeUnpin for Fired
impl UnwindSafe for Fired
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