fn init_request<'mw>(_req: &mut Request<Config>, mut res: Response<'mw, Config>) -> MiddlewareResult<'mw, Config> {
    let body = BodyResponse {
        status: String::from("OK"),
        lock: false,
        account: vec![],
    };

    res.extensions_mut().insert::<BodyResponse>(body);
    res.next_middleware()
}
/**
 * Request initializer
 * TODO: You have to modify the creation of the body to match the structure
 */
Request initializer
TODO: You have to modify the creation of the body to match the structure
Request initializer TODO : You have to modify the creation of the body to match the structure
fn init_request<'mw>(_req: &mut Request<Config>, mut res: Response<'mw, Config>) -> MiddlewareResult<'mw, Config> {
    let body = BodyResponse {
        status: String::from("OK"),
        lock: false,
        account: vec![],
    };
    res.extensions_mut().insert::<BodyResponse>(body);
    res.next_middleware()
}
fn init_request < ' mw > ( _req : & mut Request < Config > , mut res : Response < ' mw , Config > ) -> MiddlewareResult < ' mw , Config > { let body = BodyResponse { status : String :: from ( " " ) , lock : false , account : vec ! [ ] , } ; res . extensions_mut ( ) . insert :: < BodyResponse > ( body ) ; res . next_middleware ( ) }
Request initializer
 TODO: You have to modify the creation of the body to match the structure
Request initializer TODO : You have to modify the creation of the body to match the structure
_req
&mut Request<Config>
res
Response<'mw, Config>