Skip to main content

atom_engine/filters/
mod.rs

1pub mod collection;
2pub mod component;
3pub mod conditional;
4pub mod date;
5pub mod encoding;
6pub mod html;
7pub mod number;
8pub mod string;
9pub mod system;
10
11pub type FilterResult = Result<serde_json::Value, tera::Error>;
12
13pub use collection::*;
14pub use component::*;
15pub use conditional::*;
16pub use date::*;
17pub use encoding::*;
18pub use html::*;
19pub use number::*;
20pub use string::*;
21pub use system::*;
22
23pub struct Filters;
24
25impl Filters {
26    pub fn new() -> Self {
27        Filters
28    }
29}
30
31impl Default for Filters {
32    fn default() -> Self {
33        Self::new()
34    }
35}