pub struct RetirementOptions {
pub sort: RetirementSort,
pub min_age_days: Option<u64>,
pub reasons: Vec<RetirementReason>,
pub top: Option<usize>,
}Expand description
Options that narrow and order the rows of the report.
Fields§
§sort: RetirementSortRow order.
min_age_days: Option<u64>Keep only flags at least this many days old. A flag without an age does not pass.
reasons: Vec<RetirementReason>Keep only flags with at least one of these reasons. Empty keeps all.
top: Option<usize>Keep only the first N rows after the sort.
Trait Implementations§
Source§impl Clone for RetirementOptions
impl Clone for RetirementOptions
Source§impl Debug for RetirementOptions
impl Debug for RetirementOptions
Auto Trait Implementations§
impl Freeze for RetirementOptions
impl RefUnwindSafe for RetirementOptions
impl Send for RetirementOptions
impl Sync for RetirementOptions
impl Unpin for RetirementOptions
impl UnsafeUnpin for RetirementOptions
impl UnwindSafe for RetirementOptions
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§fn in_current_span(self) -> Instrumented<Self> ⓘ
fn in_current_span(self) -> Instrumented<Self> ⓘ
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more