🐛 bug: fix serde expecting phantom data in the config file

main
_ 2020-12-12 17:12:38 +00:00
parent 0eb1e7e38f
commit 004b98229a
1 changed files with 2 additions and 0 deletions

View File

@ -80,6 +80,8 @@ pub struct ScraperKey <V: MaxValidDuration> {
pub not_before: DateTime <Utc>, pub not_before: DateTime <Utc>,
pub not_after: DateTime <Utc>, pub not_after: DateTime <Utc>,
pub hash: BlakeHashWrapper, pub hash: BlakeHashWrapper,
#[serde (default)]
_phantom: std::marker::PhantomData <V>, _phantom: std::marker::PhantomData <V>,
} }