↩ reply to@tindall I was building an ActivityPub implementation in Rust for a while and posed this same question. AP and LitePub are so hostile to compile time guarantees and non object oriented languages. I ended up with an Object struct that had id and type fields and then one to hold the json blob. Object could then be converted to more specific types when needed.