pub fn scheme(mut self, scheme: HttpAuthScheme) -> Self {
        self.scheme = scheme;

        self
    }
/// Add or change http authentication scheme used.
///
/// # Examples
///
/// Create new [`Http`] [`SecurityScheme`] via [`HttpBuilder`].
/// ```rust
/// # use utoipa::openapi::security::{HttpBuilder, HttpAuthScheme};
/// let http = HttpBuilder::new().scheme(HttpAuthScheme::Basic).build();
/// ```
Add or change http authentication scheme used.
Add or change http authentication scheme used .
pub fn scheme(mut self, scheme: HttpAuthScheme) -> Self {
        self.scheme = scheme;
        self
    }
pub fn scheme ( mut self , scheme : HttpAuthScheme ) -> Self { self . scheme = scheme ; self }
Add or change http authentication scheme used.
Add or change http authentication scheme used .
mut self
scheme
HttpAuthScheme
examples
Create new [`Http`] [`SecurityScheme`] via [`HttpBuilder`].
Create new [ ` Http ` ] [ ` SecurityScheme ` ] via [ ` HttpBuilder ` ] .
use utoipa::openapi::security::{httpbuilder, httpauthscheme};
let http = HttpBuilder::new().scheme(HttpAuthScheme::Basic).build();
```
let http = HttpBuilder :: new () . scheme ( HttpAuthScheme :: Basic ) . build () ; ` ` `