pub fn endpoint_mut<Q, I, R, F, E>(&mut self, name: &'static str, endpoint: E) -> &mut Self
    where
        Q: DeserializeOwned + 'static,
        I: Serialize + 'static,
        F: for<'r> Fn(&'r mut AppState, Q, &HttpRequest) -> R + 'static + Clone,
        E: Into<With<Q, I, R, F>>,
        RequestHandler: From<NamedWith<Q, I, R, F, MutableReq>>,
    {
        self.endpoint_internal_mut(name, endpoint);
        self
    }
/// Adds the given mutable endpoint handler to the API scope. These endpoints
/// are designed for modification operations.
///
/// With additional `HttpRequest` as third parameter.
///
/// For now there is only web backend and it has the following requirements:
///
/// - Query parameters should be decodable via `serde_json`.
/// - Response items also should be encodable via `serde_json` crate.
Adds the given mutable endpoint handler to the API scope. These endpoints
are designed for modification operations.

With additional `HttpRequest` as third parameter.

For now there is only web backend and it has the following requirements.

Query parameters should be decodable via `serde_json`.
Response items also should be encodable via `serde_json` crate.
Adds the given mutable endpoint handler to the API scope . These endpoints are designed for modification operations . With additional ` HttpRequest ` as third parameter . For now there is only web backend and it has the following requirements . Query parameters should be decodable via ` serde_json ` . Response items also should be encodable via ` serde_json ` crate .
pub fn endpoint_mut<Q, I, R, F, E>(&mut self, name: &'static str, endpoint: E) -> &mut Self
    where
        Q: DeserializeOwned + 'static,
        I: Serialize + 'static,
        F: for<'r> Fn(&'r mut AppState, Q, &HttpRequest) -> R + 'static + Clone,
        E: Into<With<Q, I, R, F>>,
        RequestHandler: From<NamedWith<Q, I, R, F, MutableReq>>,
    {
        self.endpoint_internal_mut(name, endpoint);
        self
    }
pub fn endpoint_mut < Q , I , R , F , E > ( & mut self , name : & ' static str , endpoint : E ) -> & mut Self where Q : DeserializeOwned + ' static , I : Serialize + ' static , F : for < ' r > Fn ( & ' r mut AppState , Q , & HttpRequest ) -> R + ' static + Clone , E : Into < With < Q , I , R , F > > , RequestHandler : From < NamedWith < Q , I , R , F , MutableReq > > , { self . endpoint_internal_mut ( name , endpoint ) ; self }
Adds the given mutable endpoint handler to the API scope.
Adds the given mutable endpoint handler to the API scope .
&mut self
name
&'static str
endpoint
E
&mut self
name
&'static str
endpoint
E