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 InterruptRequest {
    pub fleet_name: ::std::string::String,
    pub robot_name: ::std::string::String,
    pub interrupt_id: ::std::string::String,
    pub labels: Vec<::std::string::String>,
    #[serde(rename = "type")]    pub type_: u8,
}

impl InterruptRequest {
    pub const TYPE_INTERRUPT: u8 = 0;
    pub const TYPE_RESUME: u8 = 1;
}

impl Default for InterruptRequest {
    fn default() -> Self {
        InterruptRequest {
            fleet_name: ::std::string::String::new(),
            robot_name: ::std::string::String::new(),
            interrupt_id: ::std::string::String::new(),
            labels: Vec::new(),
            type_: 0,
        }
    }
}

impl ros2_client::Message for InterruptRequest {}