Struct apistos_models::info::License
source · 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: StringThe 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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit)