1
2
3
4
5
6
7
8
9
use crate::models::packet::Packet;
use serde::{Deserialize, Serialize};

#[derive(Serialize, Deserialize, Clone, Debug)]
pub struct Stream {
    pub records: Vec<serde_json::Value>,
}

pub type StreamPacket = Packet<Stream>;