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
//! REDIS protocol AST definitions.

use alloc::vec::Vec;

/// Redis Serialization Protocol specification.
#[derive(Debug, Clone, PartialEq, Eq, Default)]
pub struct RedisSpec<'a> {
    /// Redis command verb.
    pub cmd: Option<&'a str>,
    /// Command arguments list.
    pub args: Vec<&'a str>,
    /// Reply type string.
    pub reply_type: Option<&'a str>,
    /// Value string.
    pub value: Option<&'a str>,
}