ros2_interfaces_rolling/rmf_task_msgs/msg/
assignment.rs

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
use serde::{Deserialize, Serialize};

#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
pub struct Assignment {
    pub is_assigned: bool,
    pub fleet_name: ::std::string::String,
    pub expected_robot_name: ::std::string::String,
}

impl Default for Assignment {
    fn default() -> Self {
        Assignment {
            is_assigned: false,
            fleet_name: ::std::string::String::new(),
            expected_robot_name: ::std::string::String::new(),
        }
    }
}

impl ros2_client::Message for Assignment {}