pub fn into_optional_json_request<T>(
_: RequestParts<Option<T>>,
) -> Result<Request<Vec<u8>>, Error>where
T: Serialize,Expand description
Converts optional serializable request parts into a JSON HTTP request.
ยงErrors
Returns an error if JSON serialization fails or the HTTP request cannot be built.