pub struct ControlsSuggestion {
pub rule_name: String,
pub metric_name: String,
pub current_value: f64,
pub threshold: f64,
pub action: String,
pub reason: String,
}Expand description
A suggestion produced by evaluating a rule against a quality report.
Fields§
§rule_name: String§metric_name: String§current_value: f64§threshold: f64§action: String§reason: StringTrait Implementations§
Source§impl Clone for ControlsSuggestion
impl Clone for ControlsSuggestion
Source§fn clone(&self) -> ControlsSuggestion
fn clone(&self) -> ControlsSuggestion
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 ControlsSuggestion
impl Debug for ControlsSuggestion
Source§impl<'de> Deserialize<'de> for ControlsSuggestion
impl<'de> Deserialize<'de> for ControlsSuggestion
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 ControlsSuggestion
impl RefUnwindSafe for ControlsSuggestion
impl Send for ControlsSuggestion
impl Sync for ControlsSuggestion
impl Unpin for ControlsSuggestion
impl UnsafeUnpin for ControlsSuggestion
impl UnwindSafe for ControlsSuggestion
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