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
I'm having some trouble trying to find the best way of deserializing the following XML.
Inside TaskList the Task tags are the same but their inner children are different.
Is there any way of parsing this in order to differentiate between 2 tasks based on their class attribute?
I was playing around with Enums and such but I don't see any way of doing this except implementing the deserialize method manually. Was trying to find a similar example in the examples folder but I don't see nothing like this.
Thanks in advance
(I'm quite new to rust so I am sorry if this question seems silly)
I'm having some trouble trying to find the best way of deserializing the following XML.
Inside TaskList the Task tags are the same but their inner children are different.
Is there any way of parsing this in order to differentiate between 2 tasks based on their class attribute?
I was playing around with Enums and such but I don't see any way of doing this except implementing the deserialize method manually. Was trying to find a similar example in the examples folder but I don't see nothing like this.
Thanks in advance
(I'm quite new to rust so I am sorry if this question seems silly)
The text was updated successfully, but these errors were encountered: