pub fn new() -> Self {
        Self {
            origins: None,
            allowed_headers: HashSet::new(),
            allowed_methods: HashSet::new(),
            max_age: None,
        }
    }
/// Creates a new Cors instance.
Creates a new Cors instance.
Creates a new Cors instance .
pub fn new() -> Self {
        Self {
            origins: None,
            allowed_headers: HashSet::new(),
            allowed_methods: HashSet::new(),
            max_age: None,
        }
    }
pub fn new ( ) -> Self { Self { origins : None , allowed_headers : HashSet :: new ( ) , allowed_methods : HashSet :: new ( ) , max_age : None , } }
Creates a new Cors instance.
Creates a new Cors instance .