Thoughts on being able to return Rust structs #1581
Closed
andrewgazelka
started this conversation in
General
Replies: 1 comment
-
nevermind. Found out I can use |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello,
Is there any reason function signatures can't return
T
whereT: Serializeable
? I feel this could be simpler for people who usenapi
. They would not have to call another function to serialize their object with theserde-json
feature.Beta Was this translation helpful? Give feedback.
All reactions