pub struct ValueUpdate {
pub id: ValueId,
pub value: ValueKind,
pub unit: Option<&'static str>,
pub label: String,
pub writable: bool,
pub rssi: Option<i8>,
}Expand description
A value as reported.
Fields§
§id: ValueIdWhich value.
value: ValueKindThe value.
unit: Option<&'static str>The unit symbol, if any.
label: StringA label for people.
writable: boolWhether the value can be set (switches, levels).
rssi: Option<i8>Signal strength of the frame that carried it at the controller, dBm.
Trait Implementations§
Source§impl Clone for ValueUpdate
impl Clone for ValueUpdate
Source§impl Debug for ValueUpdate
impl Debug for ValueUpdate
Source§impl PartialEq for ValueUpdate
impl PartialEq for ValueUpdate
impl StructuralPartialEq for ValueUpdate
Auto Trait Implementations§
impl Freeze for ValueUpdate
impl RefUnwindSafe for ValueUpdate
impl Send for ValueUpdate
impl Sync for ValueUpdate
impl Unpin for ValueUpdate
impl UnsafeUnpin for ValueUpdate
impl UnwindSafe for ValueUpdate
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