ros2_interfaces_rolling/usb_cam/msg/
format.rs

1use serde::{Deserialize, Serialize};
2
3#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
4pub struct Format {
5    pub pixel_format: ::std::string::String,
6    pub width: u32,
7    pub height: u32,
8    pub fps: f32,
9}
10
11impl Default for Format {
12    fn default() -> Self {
13        Format {
14            pixel_format: ::std::string::String::new(),
15            width: 0,
16            height: 0,
17            fps: 0.0,
18        }
19    }
20}
21
22impl ros2_client::Message for Format {}