1 2 3 4 5 6 7 8 9 10 11 12 13
use serde::{Serialize, Deserialize}; #[derive(Debug,Deserialize, Serialize)] pub struct CreateDNSRecord { pub name: String, pub r#type: String, pub ttl: i32, pub rrdatas: Vec<String>, pub signatureRrdatas: Option<Vec<String>>, pub kind: String, }