1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
use std::collections::BTreeSet;

#[derive(Debug)]
pub enum ImportLimit {
    All,
    Some(BTreeSet<&'static str>),
}

impl ImportLimit {
    pub fn none() -> Self {
        Self::Some(BTreeSet::new())
    }
}