pub struct ApiInfo {
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>,
}Fields§
§title: String§version: String§summary: Option<String>§description: Option<String>§terms_of_service: Option<String>§contact: Option<Contact>§license: Option<License>Trait Implementations§
Source§impl<'de> Deserialize<'de> for ApiInfo
impl<'de> Deserialize<'de> for ApiInfo
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 ApiInfo
impl RefUnwindSafe for ApiInfo
impl Send for ApiInfo
impl Sync for ApiInfo
impl Unpin for ApiInfo
impl UnwindSafe for ApiInfo
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