Plz! How to safely modify MessageField
in &mut T
#711
Unanswered
kingwingfly
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
This is my proto:
This is what generated:
I want to modify
cookies
inBili.headers.cookies
with method signaturedfn set_cookies(&mut self, cookies: HashMap<String, String>)
I tried:
Below's how I did. any better way?
Beta Was this translation helpful? Give feedback.
All reactions