pub struct ContractSla {
pub metric_name: String,
pub target_value: f64,
pub minimum_value: f64,
pub breach_penalty_pct: f64,
pub measurement_frequency: String,
}Expand description
Service level agreement within a contract.
Fields§
§metric_name: StringSLA metric name (e.g., “on_time_delivery”, “defect_rate”)
target_value: f64Target value
minimum_value: f64Minimum acceptable value
breach_penalty_pct: f64Penalty for breach (percentage of contract value)
measurement_frequency: StringMeasurement frequency (monthly, quarterly, etc.)
Trait Implementations§
Source§impl Clone for ContractSla
impl Clone for ContractSla
Source§fn clone(&self) -> ContractSla
fn clone(&self) -> ContractSla
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 ContractSla
impl Debug for ContractSla
Source§impl<'de> Deserialize<'de> for ContractSla
impl<'de> Deserialize<'de> for ContractSla
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
Auto Trait Implementations§
impl Freeze for ContractSla
impl RefUnwindSafe for ContractSla
impl Send for ContractSla
impl Sync for ContractSla
impl Unpin for ContractSla
impl UnsafeUnpin for ContractSla
impl UnwindSafe for ContractSla
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