pub struct SampledData(pub Box<SampledDataInner>);
Expand description
SampledData Type: A series of measurements taken by a device, with upper and lower limits. There may be more than one dimension in the data.
SampledData v5.0.0
A series of measurements taken by a device
A series of measurements taken by a device, with upper and lower limits. There may be more than one dimension in the data.
The data is not interpretable without at least origin, period, and dimensions, but these are optional to allow a separation between the template of measurement and the actual measurement, such as between DeviceCapabilities and DeviceLog. When providing a summary view (for example with Observation.value[x]) SampledData should be represented with a brief display text such as “Sampled Data”.
Tuple Fields§
§0: Box<SampledDataInner>
Implementations§
Source§impl SampledData
impl SampledData
Sourcepub fn builder() -> SampledDataBuilder
pub fn builder() -> SampledDataBuilder
Start building an instance.
Trait Implementations§
Source§impl Clone for SampledData
impl Clone for SampledData
Source§fn clone(&self) -> SampledData
fn clone(&self) -> SampledData
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 SampledData
impl Debug for SampledData
Source§impl Deref for SampledData
impl Deref for SampledData
Source§type Target = SampledDataInner
type Target = SampledDataInner
The resulting type after dereferencing.
Source§impl DerefMut for SampledData
impl DerefMut for SampledData
Source§impl<'de> Deserialize<'de> for SampledData
impl<'de> Deserialize<'de> for SampledData
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<SampledData, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<SampledData, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl From<SampledDataInner> for SampledData
impl From<SampledDataInner> for SampledData
Source§fn from(inner: SampledDataInner) -> SampledData
fn from(inner: SampledDataInner) -> SampledData
Converts to this type from the input type.
Source§impl PartialEq for SampledData
impl PartialEq for SampledData
Source§impl Serialize for SampledData
impl Serialize for SampledData
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
impl StructuralPartialEq for SampledData
Auto Trait Implementations§
impl Freeze for SampledData
impl RefUnwindSafe for SampledData
impl Send for SampledData
impl Sync for SampledData
impl Unpin for SampledData
impl UnwindSafe for SampledData
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