ros2-interfaces-iron 0.0.2

Structs for Messages and Services listed by ROS Index for ROS2 Iron. Built around the `ros2-client` crate.
Documentation
use serde::{Deserialize, Serialize};

#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
pub struct Ack {
    pub cls_id: u8,
    pub msg_id: u8,
}

impl Ack {
    pub const CLASS_ID: u8 = 5;
    pub const NACK_MESSAGE_ID: u8 = 0;
    pub const ACK_MESSAGE_ID: u8 = 1;
}

impl Default for Ack {
    fn default() -> Self {
        Ack {
            cls_id: 0,
            msg_id: 0,
        }
    }
}

impl ros2_client::Message for Ack {}