pub struct QueueAgingThresholds {
pub warning_days: Option<u32>,
pub stale_days: Option<u32>,
pub rotten_days: Option<u32>,
}Expand description
Aging threshold configuration for ralph queue aging.
Controls the day thresholds for categorizing tasks by age. Ordering invariant: warning_days < stale_days < rotten_days
Fields§
§warning_days: Option<u32>Warn when task age is strictly greater than this many days.
stale_days: Option<u32>Mark as stale when age is strictly greater than this many days.
rotten_days: Option<u32>Mark as rotten when age is strictly greater than this many days.
Trait Implementations§
Source§impl Clone for QueueAgingThresholds
impl Clone for QueueAgingThresholds
Source§fn clone(&self) -> QueueAgingThresholds
fn clone(&self) -> QueueAgingThresholds
Returns a duplicate of the value. Read more
1.0.0 · 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 QueueAgingThresholds
impl Debug for QueueAgingThresholds
Source§impl Default for QueueAgingThresholds
impl Default for QueueAgingThresholds
Source§fn default() -> QueueAgingThresholds
fn default() -> QueueAgingThresholds
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for QueueAgingThresholdswhere
QueueAgingThresholds: Default,
impl<'de> Deserialize<'de> for QueueAgingThresholdswhere
QueueAgingThresholds: 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 JsonSchema for QueueAgingThresholds
impl JsonSchema for QueueAgingThresholds
Source§fn schema_id() -> Cow<'static, str>
fn schema_id() -> Cow<'static, str>
Returns a string that uniquely identifies the schema produced by this type. Read more
Source§fn json_schema(generator: &mut SchemaGenerator) -> Schema
fn json_schema(generator: &mut SchemaGenerator) -> Schema
Generates a JSON Schema for this type. Read more
Source§fn inline_schema() -> bool
fn inline_schema() -> bool
Whether JSON Schemas generated for this type should be included directly in parent schemas,
rather than being re-used where possible using the
$ref keyword. Read moreAuto Trait Implementations§
impl Freeze for QueueAgingThresholds
impl RefUnwindSafe for QueueAgingThresholds
impl Send for QueueAgingThresholds
impl Sync for QueueAgingThresholds
impl Unpin for QueueAgingThresholds
impl UnsafeUnpin for QueueAgingThresholds
impl UnwindSafe for QueueAgingThresholds
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