pub struct OAS3_1 {
pub openapi: String,
pub info: Info,
pub servers: Option<Vec<Server>>,
pub webhooks: Option<HashMap<String, PathItem>>,
pub paths: Option<HashMap<String, PathItem>>,
pub components: Option<Components>,
pub security: Option<Vec<HashMap<String, Vec<String>>>>,
pub tags: Option<Vec<Tag>>,
pub external_docs: Option<ExternalDocs>,
}Fields§
§openapi: String§info: Info§servers: Option<Vec<Server>>§webhooks: Option<HashMap<String, PathItem>>§paths: Option<HashMap<String, PathItem>>§components: Option<Components>§security: Option<Vec<HashMap<String, Vec<String>>>>§external_docs: Option<ExternalDocs>Trait Implementations§
Source§impl<'de> Deserialize<'de> for OAS3_1
impl<'de> Deserialize<'de> for OAS3_1
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
Source§impl OAS for OAS3_1
impl OAS for OAS3_1
fn get_paths(&self) -> HashMap<String, PathItem>
fn version(&self) -> String
fn info(&self) -> Info
fn servers(&self) -> Option<Vec<Server>>
fn components(&self) -> Option<Components>
fn security(&self) -> Option<Vec<HashMap<String, Vec<String>>>>
fn ext_docs(&self) -> Option<ExternalDocs>
impl StructuralPartialEq for OAS3_1
Auto Trait Implementations§
impl Freeze for OAS3_1
impl RefUnwindSafe for OAS3_1
impl Send for OAS3_1
impl Sync for OAS3_1
impl Unpin for OAS3_1
impl UnwindSafe for OAS3_1
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