Add additional fields.

Signed-off-by: Edu4rdSHL <edu4rdshl@protonmail.com>
This commit is contained in:
Edu4rdSHL 2022-03-17 16:17:22 -05:00
parent 5e3f73731e
commit b10ee89775
No known key found for this signature in database
GPG key ID: 3A574A4009F553E5

View file

@ -6,7 +6,7 @@ pub struct HTTPFilters {
pub bad_lines_numbers: Vec<String>,
}
#[derive(Clone, Default)]
#[derive(Clone, Debug, Eq, PartialEq, Hash, Default)]
pub struct HttpData {
pub http_status: String,
pub status_code: u16,
@ -21,4 +21,6 @@ pub struct HttpData {
pub words_count: usize,
pub lines: usize,
pub bad_data: HTTPFilters,
pub html_file_path: String,
pub screenshot_data: Vec<u8>,
}