pub fn with_description<S: Into<String>>(name: S, description: S) -> Self {
        Self {
            name: name.into(),
            description: Some(description.into()),
        }
    }
/// Construct a new api key with optional description supporting markdown syntax.
///
/// # Examples
///
/// Create new api key security schema with name `api_key` with description.
/// ```rust
/// # use utoipa::openapi::security::ApiKeyValue;
/// let api_key = ApiKeyValue::with_description("api_key", "my api_key token");
/// ```
Construct a new api key with optional description supporting markdown syntax.
Construct a new api key with optional description supporting markdown syntax .
pub fn with_description<S: Into<String>>(name: S, description: S) -> Self {
        Self {
            name: name.into(),
            description: Some(description.into()),
        }
    }
pub fn with_description < S : Into < String > > ( name : S , description : S ) -> Self { Self { name : name . into ( ) , description : Some ( description . into ( ) ) , } }
Construct a new api key with optional description supporting markdown syntax.
Construct a new api key with optional description supporting markdown syntax .
name
S
description
S
examples
Create new api key security schema with name `api_key` with description.
Create new api key security schema with name ` api_key ` with description .
use utoipa::openapi::security::apikeyvalue;
let api_key = ApiKeyValue::with_description("api_key", "my api_key token");
```
let api_key = ApiKeyValue :: with_description ( " api_key " " my api_key token " ) ; ` ` `