pub struct SampleList {
pub samples: Option<Vec<SampleView>>,
}Fields§
§samples: Option<Vec<SampleView>>Samples are the readings, OLDEST first — the order a chart plots.
Implementations§
Source§impl SampleList
impl SampleList
pub fn new() -> SampleList
Trait Implementations§
Source§impl Clone for SampleList
impl Clone for SampleList
Source§fn clone(&self) -> SampleList
fn clone(&self) -> SampleList
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 SampleList
impl Debug for SampleList
Source§impl Default for SampleList
impl Default for SampleList
Source§fn default() -> SampleList
fn default() -> SampleList
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for SampleList
impl<'de> Deserialize<'de> for SampleList
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
Source§impl PartialEq for SampleList
impl PartialEq for SampleList
Source§impl Serialize for SampleList
impl Serialize for SampleList
impl StructuralPartialEq for SampleList
Auto Trait Implementations§
impl Freeze for SampleList
impl RefUnwindSafe for SampleList
impl Send for SampleList
impl Sync for SampleList
impl Unpin for SampleList
impl UnsafeUnpin for SampleList
impl UnwindSafe for SampleList
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