Use `pub(crate)` visibility for internal Response
This commit is contained in:
parent
cc871967df
commit
44211b27d8
|
@ -1171,9 +1171,8 @@ impl Cors {
|
||||||
/// - `Vary`
|
/// - `Vary`
|
||||||
///
|
///
|
||||||
/// You can get this struct by using `Cors::validate_request` in an ad-hoc manner.
|
/// You can get this struct by using `Cors::validate_request` in an ad-hoc manner.
|
||||||
#[doc(hidden)]
|
|
||||||
#[derive(Eq, PartialEq, Debug)]
|
#[derive(Eq, PartialEq, Debug)]
|
||||||
pub struct Response {
|
pub(crate) struct Response {
|
||||||
allow_origin: Option<AllOrSome<Url>>,
|
allow_origin: Option<AllOrSome<Url>>,
|
||||||
allow_methods: HashSet<Method>,
|
allow_methods: HashSet<Method>,
|
||||||
allow_headers: HeaderFieldNamesSet,
|
allow_headers: HeaderFieldNamesSet,
|
||||||
|
|
Loading…
Reference in New Issue