pub struct IrSpec {
pub info: IrInfo,
pub servers: Vec<IrServer>,
pub schemas: IndexMap<String, IrSchema>,
pub operations: Vec<IrOperation>,
pub security_schemes: IndexMap<String, IrSecurityScheme>,
pub security: Vec<IrSecurityRequirement>,
}Expand description
The top-level intermediate representation of an OpenAPI specification. Version-agnostic — OAS 3.0, 3.1, and 3.2 all lower into this same type.
Fields§
§info: IrInfo§servers: Vec<IrServer>§schemas: IndexMap<String, IrSchema>§operations: Vec<IrOperation>§security_schemes: IndexMap<String, IrSecurityScheme>§security: Vec<IrSecurityRequirement>Trait Implementations§
Auto Trait Implementations§
impl Freeze for IrSpec
impl RefUnwindSafe for IrSpec
impl Send for IrSpec
impl Sync for IrSpec
impl Unpin for IrSpec
impl UnsafeUnpin for IrSpec
impl UnwindSafe for IrSpec
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