1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
use holochain_serialized_bytes::prelude::*;
#[derive(Debug, Hash, PartialEq, Eq, Clone, Serialize, Deserialize)]
pub struct MetadataRequest {
pub all_valid_headers: bool,
pub all_invalid_headers: bool,
pub all_deletes: bool,
pub all_updates: bool,
pub follow_redirects: bool,
pub entry_dht_status: bool,
}
impl Default for MetadataRequest {
fn default() -> Self {
Self {
all_valid_headers: true,
all_invalid_headers: false,
all_deletes: true,
all_updates: true,
follow_redirects: false,
entry_dht_status: false,
}
}
}