pub struct MeasuredPropertiesInput {
pub flash_point: Vec<MeasuredValueEvidence>,
pub boiling_point: Vec<MeasuredValueEvidence>,
pub vapor_pressure: Vec<MeasuredValueEvidence>,
pub explosive_limits: Vec<ExplosiveLimitsEvidence>,
pub self_reactivity: Vec<TestResultEvidence>,
pub oxidizing_properties: Vec<TestResultEvidence>,
pub metal_corrosivity: Vec<TestResultEvidence>,
}Expand description
All measured-property evidence a caller supplies for the seven
properties super::unresolved::PRODUCT_LEVEL_POLICIES covers. Each
field is a Vec, not an Option — zero entries means nothing was
supplied (stays Unresolved/HumanReviewRequired, unchanged from
commit #10); more than one entry makes disagreement between reports
representable, which a single Option slot could never express.
Container-level #[serde(default)]: any subset of the seven fields may
be supplied, and the rest default to empty — so
measured_properties: { flash_point: [...] } is valid without
spelling out the other six as []. Combined with deny_unknown_fields,
a misspelled property name (e.g. flash_points) is still a parse
error, not a silently-ignored key.
Fields§
§flash_point: Vec<MeasuredValueEvidence>§boiling_point: Vec<MeasuredValueEvidence>§vapor_pressure: Vec<MeasuredValueEvidence>§explosive_limits: Vec<ExplosiveLimitsEvidence>§self_reactivity: Vec<TestResultEvidence>§oxidizing_properties: Vec<TestResultEvidence>§metal_corrosivity: Vec<TestResultEvidence>Trait Implementations§
Source§impl Clone for MeasuredPropertiesInput
impl Clone for MeasuredPropertiesInput
Source§fn clone(&self) -> MeasuredPropertiesInput
fn clone(&self) -> MeasuredPropertiesInput
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 MeasuredPropertiesInput
impl Debug for MeasuredPropertiesInput
Source§impl Default for MeasuredPropertiesInput
impl Default for MeasuredPropertiesInput
Source§fn default() -> MeasuredPropertiesInput
fn default() -> MeasuredPropertiesInput
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for MeasuredPropertiesInputwhere
MeasuredPropertiesInput: Default,
impl<'de> Deserialize<'de> for MeasuredPropertiesInputwhere
MeasuredPropertiesInput: Default,
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 MeasuredPropertiesInput
impl RefUnwindSafe for MeasuredPropertiesInput
impl Send for MeasuredPropertiesInput
impl Sync for MeasuredPropertiesInput
impl Unpin for MeasuredPropertiesInput
impl UnsafeUnpin for MeasuredPropertiesInput
impl UnwindSafe for MeasuredPropertiesInput
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more