pub struct ApiInfo31 {
pub title: String,
pub version: String,
pub summary: Option<String>,
pub description: Option<String>,
pub terms_of_service: Option<String>,
pub contact: Option<Contact>,
pub license: Option<License>,
}Expand description
API information for OpenAPI 3.1
Fields§
§title: StringAPI title
version: StringAPI version
summary: Option<String>Short summary (new in 3.1)
description: Option<String>Full description
terms_of_service: Option<String>Terms of service URL
contact: Option<Contact>Contact information
license: Option<License>License information
Trait Implementations§
Source§impl<'de> Deserialize<'de> for ApiInfo31
impl<'de> Deserialize<'de> for ApiInfo31
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
Auto Trait Implementations§
impl Freeze for ApiInfo31
impl RefUnwindSafe for ApiInfo31
impl Send for ApiInfo31
impl Sync for ApiInfo31
impl Unpin for ApiInfo31
impl UnwindSafe for ApiInfo31
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