You are an expert in writing code in many different languages. Your goal is to perform code completion for the following code, keeping in mind the rest of the code and the file meta data.
    Metadata details:
    filename: mod.rs
    path of file: ./repos/reth/crates/rpc/rpc-types/src/beacon/events
    
    the code of the file until where you have to start completion: //! Support for the Beacon API events
//!
//! See also [ethereum-beacon-API eventstream](https://ethereum.github.io/beacon-APIs/#/Events/eventstream)

use crate::engine::PayloadAttributes;
use alloy_primitives::{Address, Bytes, B256};
use attestation::AttestationData;
use light_client_finality::LightClientFinalityData;
    
    fn serde_voluntary_exit_event() {
        let s = r#"{"message":{"epoch":"1", "validator_index":"1"}, "signature":"0x1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505cc411d61252fb6cb3fa0017b679f8bb2305b26a285fa2737f175668d0dff91cc1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505"}"#;

        let event: VoluntaryExitEvent = serde_json::from_str::<VoluntaryExitEvent>(s).unwrap();
        let input = serde_json::from_str::<serde_json::Value>(s).unwrap();
        let json = serde_json::to_value(event).unwrap();
        assert_eq!(input, json);
    }