pub struct OutcomesOptions {
pub rubber_stamp_threshold_ms: u64,
pub comparison_window: Option<(u64, DateTime<Utc>)>,
}Expand description
Fold-time options for the outcomes report (ticket
rubber-stamp-grant-flag). Pure-fold idiom preserved: the same log plus
the same options always yields byte-identical report data.
Fields§
§rubber_stamp_threshold_ms: u64Grants APPROVED in under this many ms are flagged as rubber-stamp signals (strictly under; at/over is not flagged).
comparison_window: Option<(u64, DateTime<Utc>)>When Some((days, now)), the industry-comparison set (KRZ-333) is
folded over that window and attached to the report
(Outcomes::comparison). None keeps the fold hermetic — no git
probe, no clock — which is exactly the test seam: production
OutcomesOptions::resolve pins the documented default window and
the request time, so the purity rule above holds with the window as
an explicit input.
Implementations§
Trait Implementations§
Source§impl Clone for OutcomesOptions
impl Clone for OutcomesOptions
Source§fn clone(&self) -> OutcomesOptions
fn clone(&self) -> OutcomesOptions
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 moreimpl Copy for OutcomesOptions
Source§impl Debug for OutcomesOptions
impl Debug for OutcomesOptions
Source§impl Default for OutcomesOptions
impl Default for OutcomesOptions
impl Eq for OutcomesOptions
Source§impl PartialEq for OutcomesOptions
impl PartialEq for OutcomesOptions
impl StructuralPartialEq for OutcomesOptions
Auto Trait Implementations§
impl Freeze for OutcomesOptions
impl RefUnwindSafe for OutcomesOptions
impl Send for OutcomesOptions
impl Sync for OutcomesOptions
impl Unpin for OutcomesOptions
impl UnsafeUnpin for OutcomesOptions
impl UnwindSafe for OutcomesOptions
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