parsenmap 0.1.1

This is a tool for parsing nmap xml file to csv or json
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
pub type SameType<T> = T;

#[macro_export]
macro_rules! Initializer {
    (#[derive($($derive:meta),*)] $pub:vis struct $name:ident { $($fpub:vis $field:ident : $type:ty,)* }) => {
        #[derive(serde::Deserialize, serde::Serialize, $($derive),*)]
        $pub struct $name {
            $($fpub $field : $type,)*
        }
        impl $name {
            $pub fn new() -> Self{
                Self{
                    $($field:crate::macroses::SameType::<$type>::new(),)*
                }
            }
        }
    }
}