mirror of
https://github.com/servo/servo.git
synced 2025-08-07 14:35:33 +01:00
Add lots of derived Debug impls
This commit is contained in:
parent
e580250d5d
commit
05391e27cd
23 changed files with 125 additions and 124 deletions
|
@ -11,7 +11,7 @@ use std::collections::HashMap;
|
|||
use std::net::{Ipv4Addr, Ipv6Addr};
|
||||
use time;
|
||||
|
||||
#[derive(Clone, Deserialize, Serialize)]
|
||||
#[derive(Clone, Debug, Deserialize, Serialize)]
|
||||
pub struct HstsEntry {
|
||||
pub host: String,
|
||||
pub include_subdomains: bool,
|
||||
|
@ -52,7 +52,7 @@ impl HstsEntry {
|
|||
}
|
||||
}
|
||||
|
||||
#[derive(Clone, Deserialize, Serialize)]
|
||||
#[derive(Clone, Debug, Deserialize, Serialize)]
|
||||
pub struct HstsList {
|
||||
pub entries_map: HashMap<String, Vec<HstsEntry>>,
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue