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 Item {
    pub uuid: ::std::string::String,
    pub grasp_uuids: Vec<::std::string::String>,
    #[serde(rename = "type")]    pub type_: ::std::string::String,
    pub rectangle: crate::rc_reason_msgs::msg::Rectangle,
    pub pose: crate::geometry_msgs::msg::PoseStamped,
}

impl Item {
    pub const RECTANGLE: &'static str = "RECTANGLE";
}

impl Default for Item {
    fn default() -> Self {
        Item {
            uuid: ::std::string::String::new(),
            grasp_uuids: Vec::new(),
            type_: ::std::string::String::new(),
            rectangle: crate::rc_reason_msgs::msg::Rectangle::default(),
            pose: crate::geometry_msgs::msg::PoseStamped::default(),
        }
    }
}

impl ros2_client::Message for Item {}