1 2 3 4 5 6 7 8 9 10 11
pub mod models;
pub mod opts;
pub use models::*;
pub use opts::*;
/// Allows easier construction of filter functions for multiple api endpoints
pub(crate) trait Filter {
// TODO: Add a stronger return type. Not all filters are `key=val`, soma are only `key`
fn query_key_val(&self) -> (&'static str, String);
}