pub struct FeatureFlagsRetirementOptions {
pub flag_age: FlagAgeMode,
pub flag_state: Option<PathBuf>,
pub reasons: Vec<RetirementReason>,
pub sort: RetirementSort,
pub min_age_days: Option<u64>,
pub max_flag_age: Option<u64>,
}Expand description
Options of the flag retirement report, the --retirement mode of
fallow flags.
Fields§
§flag_age: FlagAgeModeHow to measure flag age.
flag_state: Option<PathBuf>Vendor flag export to read, like --flag-state.
reasons: Vec<RetirementReason>Keep only rows with one of these reasons. Empty keeps all rows.
sort: RetirementSortRow order.
min_age_days: Option<u64>Keep only rows at least this many days old.
max_flag_age: Option<u64>Report the flags older than this many days in max_flag_age.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for FeatureFlagsRetirementOptions
impl RefUnwindSafe for FeatureFlagsRetirementOptions
impl Send for FeatureFlagsRetirementOptions
impl Sync for FeatureFlagsRetirementOptions
impl Unpin for FeatureFlagsRetirementOptions
impl UnsafeUnpin for FeatureFlagsRetirementOptions
impl UnwindSafe for FeatureFlagsRetirementOptions
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