| 1 | #[derive(Serialize, Deserialize)] |
| 2 | #[tsync] |
| 3 | pub struct CameraControl { |
| 4 | pub camera_uuid: String, |
| 5 | #[serde(flatten)] |
| 6 | pub action: Action, |
| 7 | } |
| 8 | |
| 9 | #[derive(Serialize, Deserialize)] |
| 10 | #[serde(tag = "action", content = "json")] |
nothing calls this directly
no outgoing calls
no test coverage detected