pub struct DeviceMessage {
pub group_id: String,
pub node_id: String,
pub device_id: String,
pub message: Message,
}Expand description
Represents a message from a Device.
Fields§
§group_id: StringThe group the node belongs to.
node_id: StringThe nodes unique identifier.
device_id: StringThe devices unique identifier.
message: MessageThe message.
Trait Implementations§
Source§impl Debug for DeviceMessage
impl Debug for DeviceMessage
Source§impl PartialEq for DeviceMessage
impl PartialEq for DeviceMessage
impl StructuralPartialEq for DeviceMessage
Auto Trait Implementations§
impl Freeze for DeviceMessage
impl RefUnwindSafe for DeviceMessage
impl Send for DeviceMessage
impl Sync for DeviceMessage
impl Unpin for DeviceMessage
impl UnwindSafe for DeviceMessage
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