pub struct SlaTarget {
pub max_processing_secs: u64,
pub max_queue_depth: u32,
pub availability_pct: f32,
pub notification_threshold_pct: f32,
}Expand description
SLA target configuration.
Fields§
§max_processing_secs: u64Maximum acceptable processing time in seconds.
max_queue_depth: u32Maximum acceptable queue depth (number of pending workflows).
availability_pct: f32Required availability percentage (e.g. 99.9).
notification_threshold_pct: f32Percentage of target at which to start sending notifications. E.g. 0.8 means notify when processing time hits 80% of max.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for SlaTarget
impl RefUnwindSafe for SlaTarget
impl Send for SlaTarget
impl Sync for SlaTarget
impl Unpin for SlaTarget
impl UnsafeUnpin for SlaTarget
impl UnwindSafe for SlaTarget
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