pub struct InspectionCharacteristic {
pub name: String,
pub target_value: f64,
pub actual_value: f64,
pub lower_limit: f64,
pub upper_limit: f64,
pub passed: bool,
}Expand description
A single measured characteristic within a quality inspection.
Fields§
§name: StringName of the characteristic (e.g., “diameter”, “weight”, “tensile_strength”)
target_value: f64Target specification value
actual_value: f64Actual measured value
lower_limit: f64Lower specification limit
upper_limit: f64Upper specification limit
passed: boolWhether this characteristic passed inspection
Trait Implementations§
Source§impl Clone for InspectionCharacteristic
impl Clone for InspectionCharacteristic
Source§fn clone(&self) -> InspectionCharacteristic
fn clone(&self) -> InspectionCharacteristic
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 InspectionCharacteristic
impl Debug for InspectionCharacteristic
Source§impl<'de> Deserialize<'de> for InspectionCharacteristic
impl<'de> Deserialize<'de> for InspectionCharacteristic
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 InspectionCharacteristic
impl RefUnwindSafe for InspectionCharacteristic
impl Send for InspectionCharacteristic
impl Sync for InspectionCharacteristic
impl Unpin for InspectionCharacteristic
impl UnwindSafe for InspectionCharacteristic
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