or, something like: ```rust let p: Payload = some_func(); p.send_via_uart(&mut uart); ``` But, you'll generally need to define "how to serialize the data" - you could write this manually, or use some existing crates, but you'll have to "define" how to do the serialization step.