neo4j-labs / neo4rs

Neo4j driver for rust

Home Page:https://docs.rs/neo4rs

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Unable to deserialise tuple struct

s1ck opened this issue · comments

I am trying to do sth like:

#[derive(Deserialize, Debug)]
pub struct MyString(String);

#[derive(Deserialize, Debug)]
pub struct MyThing {
  my_string: MyString,
}

and I get:

Error: InvalidType { received: Str("foobar"), expected: "tuple struct MyString" }