pub fn new<S: Into<String>>(name: S) -> Self {
        Self {
            name: name.into(),
            description: None,
        }
    }
/// Constructs new api key value.
///
/// # Examples
///
/// Create new api key security schema with name `api_key`.
/// ```rust
/// # use utoipa::openapi::security::ApiKeyValue;
/// let api_key = ApiKeyValue::new("api_key");
/// ```
Constructs new api key value.
Constructs new api key value .
pub fn new<S: Into<String>>(name: S) -> Self {
        Self {
            name: name.into(),
            description: None,
        }
    }
pub fn new < S : Into < String > > ( name : S ) -> Self { Self { name : name . into ( ) , description : None , } }
Constructs new api key value.
Constructs new api key value .
name
S
examples
Create new api key security schema with name `api_key`.
Create new api key security schema with name ` api_key ` .
use utoipa::openapi::security::apikeyvalue;
let api_key = ApiKeyValue::new("api_key");
```
let api_key = ApiKeyValue :: new ( " api_key " ) ; ` ` `