pub fn supports_credentials(mut self) -> Cors {
        if let Some(cors) = cors(&mut self.cors, &self.error) {
            cors.supports_credentials = true
        }
        self
    }
/// Allows users to make authenticated requests
///
/// If true, injects the `Access-Control-Allow-Credentials` header in
/// responses. This allows cookies and credentials to be submitted
/// across domains.
///
/// This option cannot be used in conjunction with an `allowed_origin` set
/// to `All` and `send_wildcards` set to `true`.
///
/// Defaults to `false`.
///
/// Builder panics if credentials are allowed, but the Origin is set to "*".
/// This is not allowed by W3C
Allows users to make authenticated requests
If true, injects the `Access-Control-Allow-Credentials` header in
responses. This allows cookies and credentials to be submitted
across domains.



Defaults to `false`.

Builder panics if credentials are allowed, but the Origin is set to "*".
This is not allowed by W3C
Allows users to make authenticated requests If true injects the ` Access - Control - Allow - Credentials ` header in responses . This allows cookies and credentials to be submitted across domains . Defaults to ` false ` . Builder panics if credentials are allowed but the Origin is set to " * " . This is not allowed by W3C
pub fn supports_credentials(mut self) -> Cors {
        if let Some(cors) = cors(&mut self.cors, &self.error) {
            cors.supports_credentials = true
        }
        self
    }
pub fn supports_credentials ( mut self ) -> Cors { if let Some ( cors ) = cors ( & mut self . cors , & self . error ) { cors . supports_credentials = true } self }
Allows users to make authenticated requests
If true, injects the `Access-Control-Allow-Credentials` header in
responses.
Allows users to make authenticated requests If true injects the ` Access - Control - Allow - Credentials ` header in responses .
mut self
mut self