Enum teleinfo_nom::TeleinfoMode
source · pub enum TeleinfoMode {
Standard,
Legacy,
}
Expand description
Describes the mode of a Teleinfo message
Variants§
Trait Implementations§
source§impl Clone for TeleinfoMode
impl Clone for TeleinfoMode
source§fn clone(&self) -> TeleinfoMode
fn clone(&self) -> TeleinfoMode
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 TeleinfoMode
impl Debug for TeleinfoMode
source§impl PartialEq<TeleinfoMode> for TeleinfoMode
impl PartialEq<TeleinfoMode> for TeleinfoMode
source§fn eq(&self, other: &TeleinfoMode) -> bool
fn eq(&self, other: &TeleinfoMode) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for TeleinfoMode
impl StructuralPartialEq for TeleinfoMode
Auto Trait Implementations§
impl RefUnwindSafe for TeleinfoMode
impl Send for TeleinfoMode
impl Sync for TeleinfoMode
impl Unpin for TeleinfoMode
impl UnwindSafe for TeleinfoMode
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