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 ActionExecution {
    #[serde(rename = "type")]    pub type_: i16,
    pub node_id: ::std::string::String,
    pub action: ::std::string::String,
    pub arguments: Vec<::std::string::String>,
    pub success: bool,
    pub completion: f32,
    pub status: ::std::string::String,
}

impl ActionExecution {
    pub const REQUEST: i16 = 1;
    pub const RESPONSE: i16 = 2;
    pub const CONFIRM: i16 = 3;
    pub const REJECT: i16 = 4;
    pub const FEEDBACK: i16 = 5;
    pub const FINISH: i16 = 6;
    pub const CANCEL: i16 = 7;
}

impl Default for ActionExecution {
    fn default() -> Self {
        ActionExecution {
            type_: 0,
            node_id: ::std::string::String::new(),
            action: ::std::string::String::new(),
            arguments: Vec::new(),
            success: false,
            completion: 0.0,
            status: ::std::string::String::new(),
        }
    }
}

impl ros2_client::Message for ActionExecution {}