pub struct Fired {
pub id: &'static str,
pub audience: Audience,
pub pressure: f64,
pub metric: f64,
pub base: f64,
}Expand description
A signal that fired, with the pressure that fired it and the raw
metric/base (so the throttle can apply a material-increase re-arm
against the same numbers).
Fields§
§id: &'static str§audience: Audience§pressure: f64§metric: f64The raw pressure numerator m (pressure == metric / base).
base: f64The signal’s pressure denominator b.
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