pub fn serialize<S>(
    vote_state_update: &VoteStateUpdate,
    serializer: S,
) -> Result<<S as Serializer>::Ok, <S as Serializer>::Error>
where S: Serializer,