fuego 0.1.1

port scanner api for pelican
Documentation
1
2
3
4
5
6
7
8
9
use crate::records::DropBox;
use serde_json::Result;

pub async fn deserialize_dropbox(data: &str) -> Result<DropBox> {
    // Parse the string of data into serde_json::Value.
    let drop_box: DropBox = serde_json::from_str(data)?;

    Ok(drop_box)
}