We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
Vec<Value>
1 parent 2a7dbaf commit 5c8289cCopy full SHA for 5c8289c
odoo-api/src/service/orm.rs
@@ -90,7 +90,7 @@ pub struct Create {
90
#[serde(untagged)]
91
pub enum CreateVals {
92
One(Map<String, Value>),
93
- Multi(Vec<Map<String, Value>>)
+ Multi(Vec<Value>)
94
}
95
96
impl From<Map<String, Value>> for CreateVals {
@@ -99,8 +99,8 @@ impl From<Map<String, Value>> for CreateVals {
99
100
101
102
-impl From<Vec<Map<String, Value>>> for CreateVals {
103
- fn from(value: Vec<Map<String, Value>>) -> Self {
+impl From<Vec<Value>> for CreateVals {
+ fn from(value: Vec<Value>) -> Self {
104
Self::Multi(value)
105
106
0 commit comments