feat: add eq where partialeq is already and is possible

This commit is contained in:
CosminPerRam 2024-05-01 18:48:11 +03:00
parent 1877a16457
commit 32c267621e
3 changed files with 4 additions and 4 deletions

View file

@ -75,7 +75,7 @@ impl HttpProtocol {
/// .hostname(String::from("test.com"))
/// .header(String::from("Authorization"), String::from("Bearer Token"));
/// ```
#[derive(Debug, Default, Clone, PartialEq)]
#[derive(Debug, Default, Clone, Eq, PartialEq)]
pub struct HttpSettings<S: Into<String>> {
/// Choose whether to use HTTP or HTTPS.
pub protocol: HttpProtocol,