pub struct RubberStampReport {
pub threshold_ms: u64,
pub approved_decisions: u64,
pub flagged: u64,
pub share: Option<f64>,
}Expand description
The rubber-stamp flag summary (KRZ-323): approved grants decided under the configured threshold, counted against all approved decisions with a computable latency.
Fields§
§threshold_ms: u64The threshold in effect (config rubberStampThresholdMs; default
crate::types::DEFAULT_RUBBER_STAMP_THRESHOLD_MS).
approved_decisions: u64Approved grant decisions with a computable latency (the population).
flagged: u64Approved decisions under threshold_ms (strictly under; at/over is
not flagged).
flagged / approved_decisions — None when nothing was approved.
Trait Implementations§
Source§impl Clone for RubberStampReport
impl Clone for RubberStampReport
Source§fn clone(&self) -> RubberStampReport
fn clone(&self) -> RubberStampReport
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 RubberStampReport
impl Debug for RubberStampReport
Source§impl Default for RubberStampReport
impl Default for RubberStampReport
Source§impl<'de> Deserialize<'de> for RubberStampReportwhere
RubberStampReport: Default,
impl<'de> Deserialize<'de> for RubberStampReportwhere
RubberStampReport: Default,
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
Source§impl PartialEq for RubberStampReport
impl PartialEq for RubberStampReport
Source§impl Serialize for RubberStampReport
impl Serialize for RubberStampReport
impl StructuralPartialEq for RubberStampReport
Auto Trait Implementations§
impl Freeze for RubberStampReport
impl RefUnwindSafe for RubberStampReport
impl Send for RubberStampReport
impl Sync for RubberStampReport
impl Unpin for RubberStampReport
impl UnsafeUnpin for RubberStampReport
impl UnwindSafe for RubberStampReport
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