cloudevents/sdk-rust

Destructuring event/taking ownership of components is hard

slinkydeveloper opened this issue · 1 comments

The actual APIs makes really hard to destructure the Event data structure and take ownership of attributes, extensions and data separately. We should think to new facilities to improve the ergonomics of the Event API.

Maybe #64 is enough?