frameassembly 1.0.1

A Domain-Specific Language (DSL) for writing deterministic network traffic to .pcap files.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
//! WHOIS protocol AST definitions.

/// RFC 3912 WHOIS Protocol specification.
#[derive(Debug, Clone, PartialEq, Eq, Default)]
pub struct WhoisSpec<'a> {
    /// Query flag.
    pub is_query: bool,
    /// Response flag.
    pub is_response: bool,
    /// Domain query string.
    pub domain: Option<&'a str>,
    /// Registrar description string.
    pub registrar: Option<&'a str>,
}