pub struct IngestReading {
pub time: DateTime<Utc>,
pub raw_value: f64,
pub replicate_index: i16,
pub sensor_id: Option<Uuid>,
pub calibration_id: Option<Uuid>,
pub deployment_id: Option<Uuid>,
pub measurement_type: Option<String>,
pub standard_curve_id: Option<Uuid>,
}Fields§
§time: DateTime<Utc>§raw_value: f64§replicate_index: i16§sensor_id: Option<Uuid>§calibration_id: Option<Uuid>§deployment_id: Option<Uuid>§measurement_type: Option<String>Per-reading override (‘continuous’ | ‘spot’ | ‘derived’). None resolves server-side from the stream default, then the owning sensor’s data_frequency.
standard_curve_id: Option<Uuid>Standard curve the source applied to this reading.
Implementations§
Trait Implementations§
Source§impl Clone for IngestReading
impl Clone for IngestReading
Source§fn clone(&self) -> IngestReading
fn clone(&self) -> IngestReading
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 IngestReading
impl Debug for IngestReading
Source§impl<'de> Deserialize<'de> for IngestReading
impl<'de> Deserialize<'de> for IngestReading
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 IngestReading
impl RefUnwindSafe for IngestReading
impl Send for IngestReading
impl Sync for IngestReading
impl Unpin for IngestReading
impl UnsafeUnpin for IngestReading
impl UnwindSafe for IngestReading
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