pub fn serialize_option_enum<S, T>( value: &Option<T>, serializer: S, ) -> Result<S::Ok, S::Error>where S: Serializer, T: ApiEnum,
Serialize an optional enum to its numeric value for the API