in client/src/client/get_logs.rs [133:139]
fn body(&self) -> Result<Option<bytes::Bytes>, RequestError> {
let body = serde_json::to_string(self)
.map(|s| s.into_bytes())
.map_err(RequestErrorKind::from)
.map_err(RequestError::from)?;
Ok(Some(body.into()))
}