pub struct MeterChannel {
pub id: u8,
pub address: Vec<u8>,
}Expand description
One communication channel of a meter (§10.2, channel).
Fields§
§id: u8Channel identifier (id).
address: Vec<u8>Meter address within the channel (address, may be empty).
Trait Implementations§
Source§impl Clone for MeterChannel
impl Clone for MeterChannel
Source§fn clone(&self) -> MeterChannel
fn clone(&self) -> MeterChannel
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 MeterChannel
impl Debug for MeterChannel
Source§impl Default for MeterChannel
impl Default for MeterChannel
Source§fn default() -> MeterChannel
fn default() -> MeterChannel
Returns the “default value” for a type. Read more
impl Eq for MeterChannel
Source§impl PartialEq for MeterChannel
impl PartialEq for MeterChannel
impl StructuralPartialEq for MeterChannel
Auto Trait Implementations§
impl Freeze for MeterChannel
impl RefUnwindSafe for MeterChannel
impl Send for MeterChannel
impl Sync for MeterChannel
impl Unpin for MeterChannel
impl UnsafeUnpin for MeterChannel
impl UnwindSafe for MeterChannel
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