Struct jsona_openapi::License
source · [−]Expand description
License information for the exposed API.
See https://github.com/OAI/OpenAPI-Specification/blob/master/versions/3.0.1.md#licenseObject.
Fields
name: String
The license name used for the API.
url: Option<Url>
A URL to the license used for the API.
Trait Implementations
sourceimpl<'de> Deserialize<'de> for License
impl<'de> Deserialize<'de> for License
sourcefn 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
sourceimpl PartialEq<License> for License
impl PartialEq<License> 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
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more