pub struct License {
pub name: String,
pub url: Option<String>,
pub extensions: IndexMap<String, Value>,
}
Expand description
License information for the exposed API.
Fields§
§name: String
REQUIRED. The license name used for the API.
url: Option<String>
A URL to the license used for the API. MUST be in the format of a URL.
extensions: IndexMap<String, Value>
Inline extensions to this object.
Trait Implementations§
source§impl<'de> Deserialize<'de> for License
impl<'de> Deserialize<'de> for License
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more