1
2
3
4
5
6
7
8
9
10
11
12
13
14
pub use essence_macros::GenDBOperations;
pub use futures::stream::BoxStream;
pub use futures::{StreamExt, TryStreamExt};

#[macro_export]
macro_rules! create_bound {
    ($($derives:ident),*) => {
        #[derive($($derives),*)]
        pub struct Bound<T> {
            pub min: Option<T>,
            pub max: Option<T>
        }
    };
}