(&self, domain: &str, content: &str, ttl: u32)
| 285 | } |
| 286 | |
| 287 | async fn add_txt_record(&self, domain: &str, content: &str, ttl: u32) -> Result<String> { |
| 288 | let response = self |
| 289 | .add_record(&json!({ |
| 290 | "type": "TXT", |
| 291 | "name": domain, |
| 292 | "content": content, |
| 293 | "ttl": ttl, |
| 294 | })) |
| 295 | .await?; |
| 296 | Ok(response.result.id) |
| 297 | } |
| 298 | |
| 299 | async fn add_caa_record( |
| 300 | &self, |
no test coverage detected