How to mirror a Rust struct which contains SecStr? #2314
-
Hi, is it possible to mirror a rust struct like this?
If it's Protected, I want to pass a masked string "********" to Dart instead of the real value. |
Beta Was this translation helpful? Give feedback.
Answered by
fzyzcjy
Sep 25, 2024
Replies: 2 comments 3 replies
-
What about writing a https://cjycode.com/flutter_rust_bridge/guides/types/translatable/custom |
Beta Was this translation helpful? Give feedback.
2 replies
Answer selected by
chenghang6
-
Thanks! @fzyzcjy .
Will "flutter_rust_bridge_codegen generate" generate a Dart class "Value"?
|
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
What about writing a https://cjycode.com/flutter_rust_bridge/guides/types/translatable/custom