Macro foundation::new_type [] [src]

macro_rules! new_type {
    ($i: ident => $e:path; $($r: tt)*) => { ... };
    ($i: ident; $($r: tt)*) => { ... };
    () => { ... };
}

Used to identify a new type used in a query pipeline. The types are consistent between each one in terms of transforming one to another. This helps reduce boiler plate code and makes it easy to expand and maintain code in the future by simply adding a new field here if needed