pub struct StandardCurveUpsert {
pub source_key: String,
pub instrument_label: String,
pub slope: f64,
pub intercept: f64,
pub r_squared: Option<f64>,
pub name: Option<String>,
pub fitted_on: Option<NaiveDate>,
pub notes: Option<String>,
}Expand description
One portal standard curve to register. source_key identifies the curve
within the source system; registration is idempotent per (source_system,
source_key).
Fields§
§source_key: String§instrument_label: StringThe portal curve’s parameter label; the API finds-or-creates one lab instrument per (source_system, instrument_label).
slope: f64§intercept: f64§r_squared: Option<f64>§name: Option<String>§fitted_on: Option<NaiveDate>The date the source fitted the curve, which is how the lab identifies one.
notes: Option<String>Whatever the source records about the fit.
Trait Implementations§
Source§impl Clone for StandardCurveUpsert
impl Clone for StandardCurveUpsert
Source§fn clone(&self) -> StandardCurveUpsert
fn clone(&self) -> StandardCurveUpsert
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 StandardCurveUpsert
impl Debug for StandardCurveUpsert
Source§impl<'de> Deserialize<'de> for StandardCurveUpsert
impl<'de> Deserialize<'de> for StandardCurveUpsert
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 StandardCurveUpsert
impl RefUnwindSafe for StandardCurveUpsert
impl Send for StandardCurveUpsert
impl Sync for StandardCurveUpsert
impl Unpin for StandardCurveUpsert
impl UnsafeUnpin for StandardCurveUpsert
impl UnwindSafe for StandardCurveUpsert
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