Struct teleinfo_nom::TeleinfoValue
source · pub struct TeleinfoValue {
pub value: String,
pub horodate: Option<TeleinfoDate>,
}
Expand description
TeleinfoValue represents the value and date of a message line from Teleinfo
Fields§
§value: String
§horodate: Option<TeleinfoDate>
Trait Implementations§
source§impl Clone for TeleinfoValue
impl Clone for TeleinfoValue
source§fn clone(&self) -> TeleinfoValue
fn clone(&self) -> TeleinfoValue
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 TeleinfoValue
impl Debug for TeleinfoValue
source§impl PartialEq<TeleinfoValue> for TeleinfoValue
impl PartialEq<TeleinfoValue> for TeleinfoValue
source§fn eq(&self, other: &TeleinfoValue) -> bool
fn eq(&self, other: &TeleinfoValue) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for TeleinfoValue
Auto Trait Implementations§
impl RefUnwindSafe for TeleinfoValue
impl Send for TeleinfoValue
impl Sync for TeleinfoValue
impl Unpin for TeleinfoValue
impl UnwindSafe for TeleinfoValue
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