ros2_interfaces_rolling/rc_reason_msgs/msg/
item_model.rs1use serde::{Deserialize, Serialize};
2
3#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
4pub struct ItemModel {
5 #[serde(rename = "type")] pub type_: ::std::string::String,
6 pub unknown: crate::rc_reason_msgs::msg::RangeBox,
7 pub rectangle: crate::rc_reason_msgs::msg::RangeRectangle,
8}
9
10impl ItemModel {
11 pub const UNKNOWN: &'static str = "UNKNOWN";
12 pub const RECTANGLE: &'static str = "RECTANGLE";
13}
14
15impl Default for ItemModel {
16 fn default() -> Self {
17 ItemModel {
18 type_: ::std::string::String::new(),
19 unknown: crate::rc_reason_msgs::msg::RangeBox::default(),
20 rectangle: crate::rc_reason_msgs::msg::RangeRectangle::default(),
21 }
22 }
23}
24
25impl ros2_client::Message for ItemModel {}