ros2_interfaces_humble/vision_msgs/msg/
classification.rs1use serde::{Deserialize, Serialize};
2
3#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
4pub struct Classification {
5 pub header: crate::std_msgs::msg::Header,
6 pub results: Vec<crate::vision_msgs::msg::ObjectHypothesis>,
7}
8
9impl Default for Classification {
10 fn default() -> Self {
11 Classification {
12 header: crate::std_msgs::msg::Header::default(),
13 results: Vec::new(),
14 }
15 }
16}
17
18impl ros2_client::Message for Classification {}