1 2 3 4 5 6 7 8 9 10
use serde::{Deserialize, Serialize}; #[derive(Serialize, Deserialize, Debug)] pub struct PostDeviceDtoRequest { pub name: String, pub description: String, pub address: String, pub can_script: bool, pub scraping: bool, }