MCPcopy Create free account
hub / github.com/Migorithm/rustiful-backend / Dependency

Class Dependency

library/src/bootstrap.rs:30–30  ·  view source on GitHub ↗

`Dependency` is the struct you implement injectable dependencies that will be called inside the function.

Source from the content-addressed store, hash-verified

28///* `Dependency` is the struct you implement injectable dependencies that will be called inside the function.
29
30pub struct Dependency;
31
32impl Dependency {
33 pub fn some_dependency(&self) -> fn(String, i32) -> ServiceResponse {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected