You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is there a reason none of the types derive Serialize? It would be nice to build messages with these structs, but then I can't turn them into JSON using serde.
The text was updated successfully, but these errors were encountered:
My bot routes responses both through DF, and directly using the API. What would be the lift to add the Serialization annotations to the fields? I'm new to Rust, so I can't jump in and effectively PR yet.
the post_messsage function i linked currently handles the serialisation and for PostRequest and just deriving Serialize would not produce the same json. Extracting that serialising code to be called by itself would be an option
Is there a reason none of the types derive
Serialize
? It would be nice to build messages with these structs, but then I can't turn them into JSON usingserde
.The text was updated successfully, but these errors were encountered: