Struct openapiv3::License [−][src]
pub struct License { pub name: String, pub url: Option<String>, pub extensions: IndexMap<String, Value>, }
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
impl<'de> Deserialize<'de> for License
[src]
impl<'de> Deserialize<'de> for License
[src]fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
[src]
__D: Deserializer<'de>,
impl StructuralPartialEq for License
[src]
impl StructuralPartialEq for License
[src]Auto Trait Implementations
impl RefUnwindSafe for License
impl RefUnwindSafe for License
impl UnwindSafe for License
impl UnwindSafe for License
Blanket Implementations
impl<T> DeserializeOwned for T where
T: for<'de> Deserialize<'de>,
[src]
impl<T> DeserializeOwned for T where
T: for<'de> Deserialize<'de>,
[src]