proxylib/dto/
log_response.rs

1
2
3
4
5
6
7
8
9
10
11
12
use serde::{Deserialize, Serialize};
use chrono::NaiveDateTime;
use serde_json;
#[derive(Serialize, Deserialize, Debug, Clone, Default)]
#[serde(rename_all = "camelCase")]
pub struct LogResponse {
    pub code: u16,
    pub date: NaiveDateTime,
    pub error_body: String,
    pub url : String,
    pub service : String
}