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