Skip to content
Snippets Groups Projects

[ref] documents+network-documents: create DomainName type

Merged Éloïs requested to merge elois/create-domain-name-type into dev
17 files
+ 318
220
Compare changes
  • Side-by-side
  • Inline
Files
17
@@ -198,7 +198,7 @@ mod tests {
@@ -198,7 +198,7 @@ mod tests {
api_features: ApiFeatures(vec![7u8]),
api_features: ApiFeatures(vec![7u8]),
ip_v4: None,
ip_v4: None,
ip_v6: None,
ip_v6: None,
host: Some(String::from("g1.durs.ifee.fr")),
domain: Some(String::from("g1.durs.ifee.fr")),
port: 443u16,
port: 443u16,
path: Some(String::from("ws2p")),
path: Some(String::from("ws2p")),
}
}
@@ -211,7 +211,7 @@ mod tests {
@@ -211,7 +211,7 @@ mod tests {
api_features: ApiFeatures(vec![7u8]),
api_features: ApiFeatures(vec![7u8]),
ip_v4: Some(Ipv4Addr::from_str("84.16.72.210").unwrap()),
ip_v4: Some(Ipv4Addr::from_str("84.16.72.210").unwrap()),
ip_v6: None,
ip_v6: None,
host: None,
domain: None,
port: 443u16,
port: 443u16,
path: Some(String::from("ws2p")),
path: Some(String::from("ws2p")),
}
}
Loading