1
2
3
4
5
6
7
8
9
10
11
12
13
14
use serde::{Serialize, Deserialize};

#[derive(Debug,Clone, Serialize, Deserialize)]
pub enum StreamType {
    Input,
    Output
}

#[derive(Debug,Clone, Serialize, Deserialize)]
pub struct Stream{
    pub path:String,
    pub name:String,
    pub stream_type:StreamType
}