pub struct OpenApiGenerationResult {
pub document: Value,
pub warnings: Vec<String>,
}Expand description
Result of OpenAPI generation — the document plus any warnings.
Fields§
§document: ValueThe OpenAPI 3.0.3 document as serde_json::Value.
warnings: Vec<String>Warnings (e.g. operations with missing schemas using weak stubs).
Trait Implementations§
Source§impl Clone for OpenApiGenerationResult
impl Clone for OpenApiGenerationResult
Source§fn clone(&self) -> OpenApiGenerationResult
fn clone(&self) -> OpenApiGenerationResult
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for OpenApiGenerationResult
impl RefUnwindSafe for OpenApiGenerationResult
impl Send for OpenApiGenerationResult
impl Sync for OpenApiGenerationResult
impl Unpin for OpenApiGenerationResult
impl UnsafeUnpin for OpenApiGenerationResult
impl UnwindSafe for OpenApiGenerationResult
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