Struct tinkerforge_async::dc_v2_bricklet::PowerStatistics  
source · pub struct PowerStatistics {
    pub voltage: u16,
    pub current: u16,
}Fields§
§voltage: u16§current: u16Trait Implementations§
source§impl Clone for PowerStatistics
 
impl Clone for PowerStatistics
source§fn clone(&self) -> PowerStatistics
 
fn clone(&self) -> PowerStatistics
Returns a copy 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 PowerStatistics
 
impl Debug for PowerStatistics
source§impl Default for PowerStatistics
 
impl Default for PowerStatistics
source§fn default() -> PowerStatistics
 
fn default() -> PowerStatistics
Returns the “default value” for a type. Read more
source§impl FromByteSlice for PowerStatistics
 
impl FromByteSlice for PowerStatistics
source§fn bytes_expected() -> usize
 
fn bytes_expected() -> usize
Returns how many bytes are expected to deserialize a instance of the implementing type. Currently this method is only used for strings.
source§fn from_le_byte_slice(bytes: &[u8]) -> PowerStatistics
 
fn from_le_byte_slice(bytes: &[u8]) -> PowerStatistics
Deserialize the implementing type from a byte slice.
source§impl Hash for PowerStatistics
 
impl Hash for PowerStatistics
source§impl PartialEq for PowerStatistics
 
impl PartialEq for PowerStatistics
source§fn eq(&self, other: &PowerStatistics) -> bool
 
fn eq(&self, other: &PowerStatistics) -> bool
This method tests for 
self and other values to be equal, and is used
by ==.impl Copy for PowerStatistics
impl Eq for PowerStatistics
impl StructuralEq for PowerStatistics
impl StructuralPartialEq for PowerStatistics
Auto Trait Implementations§
impl RefUnwindSafe for PowerStatistics
impl Send for PowerStatistics
impl Sync for PowerStatistics
impl Unpin for PowerStatistics
impl UnwindSafe for PowerStatistics
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