pub struct Openapi {
pub openapi: Option<Value>,
pub info: Box<Info>,
pub json_schema_dialect: Option<Value>,
pub servers: Option<Vec<Server>>,
pub paths: BTreeMap<String, ObjectOrRef<PathItem>>,
pub webhooks: BTreeMap<String, ObjectOrRef<PathItem>>,
pub components: Option<Box<Components>>,
pub security: Option<Value>,
pub tags: Option<Vec<Tag>>,
pub external_docs: Option<Box<ExternalDocumentation>>,
}Fields§
§openapi: Option<Value>§info: Box<Info>§json_schema_dialect: Option<Value>§servers: Option<Vec<Server>>§paths: BTreeMap<String, ObjectOrRef<PathItem>>§webhooks: BTreeMap<String, ObjectOrRef<PathItem>>§components: Option<Box<Components>>§security: Option<Value>§external_docs: Option<Box<ExternalDocumentation>>Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Openapi
impl<'de> Deserialize<'de> for Openapi
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
impl StructuralPartialEq for Openapi
Auto Trait Implementations§
impl Freeze for Openapi
impl RefUnwindSafe for Openapi
impl Send for Openapi
impl Sync for Openapi
impl Unpin for Openapi
impl UnwindSafe for Openapi
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