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: tag_value_set.rs
    path of file: ./repos/vector/src/transforms/tag_cardinality_limit
    
    the code of the file until where you have to start completion: use crate::event::metric::TagValueSet;
use crate::transforms::tag_cardinality_limit::config::Mode;
use bloomy::BloomFilter;
use std::collections::HashSet;
use std::fmt;

/// Container for storing the set of accepted values for a given tag key.
#[derive(Debug)]
pub struct AcceptedTagValueSet {
    storage: TagValueSetStorage,
}

enum TagValueSetStorage {
    Set(HashSet<TagValueSet>),
    Bloom(BloomFilterStorage),
}

/// A bloom filter that tracks the number of items inserted into it.
struct BloomFilterStorage {
    inner: BloomFilter<TagValueSet>,

    /// Count of items inserted into the bloom filter.
    /// We manually track this because `BloomFilter::count` h
    
    fn test_accepted_tag_value_set_probabilistic() {
        let mut accepted_tag_value_set = AcceptedTagValueSet::new(2, &Mode::Exact);

        assert!(!accepted_tag_value_set.contains(&TagValueSet::from(["value1".to_string()])));
        assert_eq!(accepted_tag_value_set.len(), 0);

        accepted_tag_value_set.insert(TagValueSet::from(["value1".to_string()]));
        assert_eq!(accepted_tag_value_set.len(), 1);
        assert!(accepted_tag_value_set.contains(&TagValueSet::from(["value1".to_string()])));

        // Inserting the same value again should not increase the count.
        accepted_tag_value_set.insert(TagValueSet::from(["value1".to_string()]));
        assert_eq!(accepted_tag_value_set.len(), 1);
        assert!(accepted_tag_value_set.contains(&TagValueSet::from(["value1".to_string()])));

        accepted_tag_value_set.insert(TagValueSet::from(["value2".to_string()]));
        assert_eq!(accepted_tag_value_set.len(), 2);
        assert!(accepted_tag_value_set.contains(&TagValueSet::from(["value2".to_string()])));
    }