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
15
16
//! IMAP protocol AST definitions.

/// RFC 9051 Internet Message Access Protocol specification.
#[derive(Debug, Clone, PartialEq, Eq, Default)]
pub struct ImapSpec<'a> {
    /// Command tag string.
    pub tag: Option<&'a str>,
    /// IMAP command verb.
    pub cmd: Option<&'a str>,
    /// Command argument.
    pub arg: Option<&'a str>,
    /// Response status string.
    pub status: Option<&'a str>,
    /// Response explanation text.
    pub response: Option<&'a str>,
}