Struct openapiv3::License [−][src]
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
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
Auto Trait Implementations
impl RefUnwindSafe for License
impl UnwindSafe for License
Blanket Implementations
Mutably borrows from an owned value. Read more