aboutsummaryrefslogtreecommitdiffstats
path: root/lib/warden-core/src/configuration/conv.rs
diff options
context:
space:
mode:
Diffstat (limited to 'lib/warden-core/src/configuration/conv.rs')
-rw-r--r--lib/warden-core/src/configuration/conv.rs7
1 files changed, 5 insertions, 2 deletions
diff --git a/lib/warden-core/src/configuration/conv.rs b/lib/warden-core/src/configuration/conv.rs
index fe4acf3..cbb1e88 100644
--- a/lib/warden-core/src/configuration/conv.rs
+++ b/lib/warden-core/src/configuration/conv.rs
@@ -1,4 +1,7 @@
-use crate::{configuration::typology::Operator, google::protobuf::{value, ListValue, NullValue, Struct, Value}};
+use crate::{
+ configuration::typology::Operator,
+ google::protobuf::{ListValue, NullValue, Struct, Value, value},
+};
#[derive(Debug)]
/// Generic JSON value
@@ -109,8 +112,8 @@ impl serde::Serialize for GenericParameter {
}
pub(crate) mod operator_serde {
- use serde::{self, Deserialize, Deserializer, Serializer};
use super::Operator;
+ use serde::{self, Deserialize, Deserializer, Serializer};
pub fn serialize<S>(operator: &i32, s: S) -> Result<S::Ok, S::Error>
where