pub struct OpenApiModel {
pub name: String,
pub fields: Vec<OpenApiField>,
}Expand description
An ordered model definition. Repeated registrations merge fields by wire name.
Fields§
§name: String§fields: Vec<OpenApiField>Implementations§
Source§impl OpenApiModel
impl OpenApiModel
Trait Implementations§
Source§impl Clone for OpenApiModel
impl Clone for OpenApiModel
Auto Trait Implementations§
impl Freeze for OpenApiModel
impl RefUnwindSafe for OpenApiModel
impl Send for OpenApiModel
impl Sync for OpenApiModel
impl Unpin for OpenApiModel
impl UnsafeUnpin for OpenApiModel
impl UnwindSafe for OpenApiModel
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