pub struct SignalValue {
pub name: String,
pub value: String,
}Expand description
A property value in Event::Signals.
Fields§
§name: StringProperty name.
value: StringHuman-readable value, e.g. "120.5" or "#ff0000ff".
Trait Implementations§
Source§impl Clone for SignalValue
impl Clone for SignalValue
Source§impl Debug for SignalValue
impl Debug for SignalValue
Source§impl<'de> Deserialize<'de> for SignalValue
impl<'de> Deserialize<'de> for SignalValue
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for SignalValue
impl PartialEq for SignalValue
Source§impl Serialize for SignalValue
impl Serialize for SignalValue
impl StructuralPartialEq for SignalValue
Auto Trait Implementations§
impl Freeze for SignalValue
impl RefUnwindSafe for SignalValue
impl Send for SignalValue
impl Sync for SignalValue
impl Unpin for SignalValue
impl UnsafeUnpin for SignalValue
impl UnwindSafe for SignalValue
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