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
source§impl PartialEq for License
impl PartialEq for License
impl StructuralPartialEq for License
Auto Trait Implementations§
impl RefUnwindSafe for License
impl Send for License
impl Sync for License
impl Unpin for License
impl UnwindSafe for License
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more