We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
#[derive(Serialize, Deserialize)] struct Foo { e: E, } #[derive(Serialize, Deserialize)] enum E { A(Foo1) } #[derive(Serialize, Deserialize)] struct Foo1 { f: String, } let f = Foo { e: E::A(Foo1 { f: "field string".to_string(), }), }; println!("{}", bson::to_document(&f).unwrap());
Here we get a result
{ "e": { "A": { "f": "field string" } } }
However, we can't build the path "e.A.f" with field! macro now.
field!
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Here we get a result
However, we can't build the path "e.A.f" with
field!
macro now.The text was updated successfully, but these errors were encountered: