pub struct EnergySample {
pub payload: Value,
}Fields§
§payload: ValueTrait Implementations§
Source§impl Clone for EnergySample
impl Clone for EnergySample
Source§fn clone(&self) -> EnergySample
fn clone(&self) -> EnergySample
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 EnergySample
impl Debug for EnergySample
Source§impl PartialEq for EnergySample
impl PartialEq for EnergySample
Source§fn eq(&self, other: &EnergySample) -> bool
fn eq(&self, other: &EnergySample) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for EnergySample
impl Serialize for EnergySample
impl StructuralPartialEq for EnergySample
Auto Trait Implementations§
impl Freeze for EnergySample
impl RefUnwindSafe for EnergySample
impl Send for EnergySample
impl Sync for EnergySample
impl Unpin for EnergySample
impl UnsafeUnpin for EnergySample
impl UnwindSafe for EnergySample
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