Function api_router
Source pub fn api_router<S>() -> Router<S>where
S:
Clone +
Send +
Sync + 'static,
Keystore:
FromRef<S>,
UrlBuilder:
FromRef<S>,
BoxRepository:
FromRequestParts<S>,
ActivityTracker:
FromRequestParts<S>,
BoundActivityTracker:
FromRequestParts<S>,
Encrypter:
FromRef<S>,
Client:
FromRef<S>,
SiteConfig:
FromRef<S>,
Templates:
FromRef<S>,
Arc<dyn
HomeserverConnection>:
FromRef<S>,
BoxClock:
FromRequestParts<S>,
BoxRng:
FromRequestParts<S>,
Policy:
FromRequestParts<S>,