1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
use std::fmt::Error;

use crate::nodes::fnode_type::FNodeType;
use serde::{Serialize, Deserialize};

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

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