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 UdpPacket {
    pub header: crate::std_msgs::msg::Header,
    pub address: ::std::string::String,
    pub src_port: u16,
    pub data: Vec<u8>,
}

impl Default for UdpPacket {
    fn default() -> Self {
        UdpPacket {
            header: crate::std_msgs::msg::Header::default(),
            address: ::std::string::String::new(),
            src_port: 0,
            data: Vec::new(),
        }
    }
}

impl ros2_client::Message for UdpPacket {}