Files
imphnen-backend-service/imphnen-utils/src/crud.rs
T
2025-05-17 02:08:59 +07:00

9 lines
230 B
Rust

pub trait Crud<T, Args> {
fn list(&self, _args: Args) -> T {
unimplemented!("list() is not implemented for this type")
}
fn detail(&self, _args: Args) -> T {
unimplemented!("detail() is not implemented for this type")
}
}