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
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>
This object MAY be extended with Specification Extensions.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for License
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