debug the body of every http request

This commit is contained in:
Tamo 2021-06-23 12:18:34 +02:00
parent 36f32f58d4
commit ad8d9a97d6
No known key found for this signature in database
GPG key ID: 20CD8020AFA88D69
8 changed files with 46 additions and 7 deletions

View file

@ -55,7 +55,7 @@ pub struct IndexSettings {
pub primary_key: Option<String>,
}
#[derive(Serialize)]
#[derive(Serialize, Debug)]
#[serde(rename_all = "camelCase")]
pub struct IndexStats {
#[serde(skip)]
@ -76,7 +76,7 @@ pub struct IndexController {
dump_handle: dump_actor::DumpActorHandleImpl,
}
#[derive(Serialize)]
#[derive(Serialize, Debug)]
#[serde(rename_all = "camelCase")]
pub struct Stats {
pub database_size: u64,