Basic DNS check works
This commit is contained in:
commit
05b51d1c85
7 changed files with 640 additions and 0 deletions
12
examples/deser.rs
Normal file
12
examples/deser.rs
Normal file
|
|
@ -0,0 +1,12 @@
|
|||
use serde::Deserialize;
|
||||
|
||||
|
||||
#[derive(Debug, Deserialize)]
|
||||
struct Demo {
|
||||
query_time: String
|
||||
}
|
||||
|
||||
fn main() {
|
||||
let d: Demo = serde_yaml_ng::from_str("query_time: !!timestamp 2025-02-09T14:12:32.022Z").unwrap();
|
||||
println!("{}", d.query_time);
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue