Some structures like Match derive serde::Serialize and serde::Deserialize for parsing purpose but a few enums don't. Is there a reason?
For example, I would like to create a serializable structure like this:
#[derive(Serialize, Deserialize)]
pub struct config {
pub version: String,
pub servers: Vec<PlatformRoute>,
pub tiers: Vec<Tier>
}
Some structures like
Matchderiveserde::Serializeandserde::Deserializefor parsing purpose but a few enums don't. Is there a reason?For example, I would like to create a serializable structure like this: