pub struct InsightsOptions {
pub last_n_runs: u32,
pub since: Option<String>,
pub top_n: u32,
}Fields§
§last_n_runs: u32Number of most-recent runs to include in the rolling window. Default 50 when set to 0.
since: Option<String>ISO-8601 lower bound on runs.started_at. When set, overrides
last_n_runs.
top_n: u32How many items to include in ranked lists (top_useful, prune_candidates). Default 10 when set to 0.
Trait Implementations§
Source§impl Clone for InsightsOptions
impl Clone for InsightsOptions
Source§fn clone(&self) -> InsightsOptions
fn clone(&self) -> InsightsOptions
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 InsightsOptions
impl Debug for InsightsOptions
Auto Trait Implementations§
impl Freeze for InsightsOptions
impl RefUnwindSafe for InsightsOptions
impl Send for InsightsOptions
impl Sync for InsightsOptions
impl Unpin for InsightsOptions
impl UnsafeUnpin for InsightsOptions
impl UnwindSafe for InsightsOptions
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