For enum variants there exists the option to #[serde(skip)] . However, this actually fails the serialization process, instead of skipping the variant.
確定! 回上一頁