v0.35.0
This commit is contained in:
1 parent
2c03fcf248
commit
d3b492874b
95 files changed
+1628
-743
No files matched your search
+1
-11
@@ -151,7 +151,7 @@ pub struct HostPolicy {
|
||||
pub hosts: Vec<String>,
|
||||
pub acl: Acl,
|
||||
}
|
||||
#[derive(Debug, Clone, Serialize, Deserialize)]
|
||||
#[derive(Debug, Clone, Default, Serialize, Deserialize)]
|
||||
#[serde(default, deny_unknown_fields)]
|
||||
pub struct AclProfile {
|
||||
pub id: String,
|
||||
@@ -159,16 +159,6 @@ pub struct AclProfile {
|
||||
pub acl: Option<Acl>,
|
||||
pub country_access: crate::rate_limit::CountryAccess,
|
||||
}
|
||||
impl Default for AclProfile {
|
||||
fn default() -> Self {
|
||||
Self {
|
||||
id: String::new(),
|
||||
name: String::new(),
|
||||
acl: None,
|
||||
country_access: Default::default(),
|
||||
}
|
||||
}
|
||||
}
|
||||
#[derive(Debug, Clone, PartialEq, Eq, Serialize, Deserialize)]
|
||||
#[serde(deny_unknown_fields)]
|
||||
pub struct Backend {
|
||||
|
||||
Reference in new issue
Block a user