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: templates.rs
    path of file: ./repos/firecracker/src/vmm/src/cpu_config
    
    the code of the file until where you have to start completion: // Copyright 2023 Amazon.com, Inc. or its affiliates. All Rights Reserved.
// SPDX-License-Identifier: Apache-2.0

#[cfg(target_arch = "x86_64")]
mod common_types {
    pub use crate::cpu_config::x86_64::custom_cpu_template::CustomCpuTemplate;
    pub use crate::cpu_config::x86_64::static_cpu_templates::StaticCpuTemplate;

    
    fn test_kvm_capability_serde() {
        let kvm_cap = KvmCapability::Add(69);

        let expected_str = "\"69\"";
        let serialized = serde_json::to_string(&kvm_cap).unwrap();
        assert_eq!(&serialized, expected_str);

        let kvm_cap = KvmCapability::Remove(69);

        let expected_str = "\"!69\"";
        let serialized = serde_json::to_string(&kvm_cap).unwrap();
        assert_eq!(&serialized, expected_str);

        let serialized = "\"69\"";
        let deserialized: KvmCapability = serde_json::from_str(serialized).unwrap();
        assert_eq!(deserialized, KvmCapability::Add(69));

        let serialized = "\"!69\"";
        let deserialized: KvmCapability = serde_json::from_str(serialized).unwrap();
        assert_eq!(deserialized, KvmCapability::Remove(69));
    }