pub struct ComponentThresholds {
pub correctness: f64,
pub performance: f64,
pub maintainability: f64,
pub safety: f64,
pub idiomaticity: f64,
}Expand description
Component-specific quality thresholds
Fields§
§correctness: f64Minimum correctness score (0.0-1.0)
performance: f64Minimum performance score (0.0-1.0)
maintainability: f64Minimum maintainability score (0.0-1.0)
safety: f64Minimum safety score (0.0-1.0)
idiomaticity: f64Minimum idiomaticity score (0.0-1.0)
Trait Implementations§
Source§impl Clone for ComponentThresholds
impl Clone for ComponentThresholds
Source§fn clone(&self) -> ComponentThresholds
fn clone(&self) -> ComponentThresholds
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 ComponentThresholds
impl Debug for ComponentThresholds
Source§impl<'de> Deserialize<'de> for ComponentThresholds
impl<'de> Deserialize<'de> for ComponentThresholds
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 ComponentThresholds
impl RefUnwindSafe for ComponentThresholds
impl Send for ComponentThresholds
impl Sync for ComponentThresholds
impl Unpin for ComponentThresholds
impl UnwindSafe for ComponentThresholds
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