How can I create an object and then load its state from a file? Serializable state consists of some (but not all) fields, so I want to just overwrite their values on deserialization.
Objects can be nested (creating/deleting parent object calls constructor/destructor for its field objects), and each of them has its own serializable state. Moreover, they may have cross-refetrenced (shared) fields (although only one object owns each shared field).
So, I want to have a simple de/serialization code for such constructs. I don't want to write de/serialization methods by hand, since there just too many such object types.
Can I use serde with an already created object as a deserialization target, or should I always deserialize whole objects?