Struct k8s_openapi_codegen_common::swagger20::Spec
source · [−]pub struct Spec {
pub info: Info,
pub definitions: BTreeMap<DefinitionPath, Schema>,
pub operations: Vec<Operation>,
}
Expand description
The whole Spec
object. An OpenAPI spec JSON file can be deserialized into this type.
Fields
info: Info
definitions: BTreeMap<DefinitionPath, Schema>
operations: Vec<Operation>
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for Spec
impl Send for Spec
impl Sync for Spec
impl Unpin for Spec
impl UnwindSafe for Spec
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more