pub struct PendingAction {
pub rule_id: String,
pub action: RuleAction,
pub origin: String,
}Expand description
Output from rule evaluation – an action the router should execute
Fields§
§rule_id: StringThe rule that produced this action
action: RuleActionThe action to execute
origin: StringOrigin tag for loop prevention
Trait Implementations§
Source§impl Clone for PendingAction
impl Clone for PendingAction
Source§fn clone(&self) -> PendingAction
fn clone(&self) -> PendingAction
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 PendingAction
impl RefUnwindSafe for PendingAction
impl Send for PendingAction
impl Sync for PendingAction
impl Unpin for PendingAction
impl UnsafeUnpin for PendingAction
impl UnwindSafe for PendingAction
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