ros2_interfaces_rolling/rmf_traffic_msgs/msg/negotiation_key.rs
1use serde::{Deserialize, Serialize};
2
3#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
4pub struct NegotiationKey {
5 pub participant: u64,
6 pub version: u64,
7}
8
9impl Default for NegotiationKey {
10 fn default() -> Self {
11 NegotiationKey {
12 participant: 0,
13 version: 0,
14 }
15 }
16}
17
18impl ros2_client::Message for NegotiationKey {}