pub struct OpenApiSummary {
pub title: String,
pub version: String,
pub description: Option<String>,
pub servers: Vec<String>,
pub endpoints: Vec<EndpointInfo>,
pub endpoint_count: usize,
}Expand description
OpenAPI spec summary for display.
Fields§
§title: StringAPI title.
version: StringAPI version.
description: Option<String>API description.
servers: Vec<String>Server URLs.
endpoints: Vec<EndpointInfo>Endpoints.
endpoint_count: usizeTotal endpoint count.
Implementations§
Trait Implementations§
Source§impl Clone for OpenApiSummary
impl Clone for OpenApiSummary
Auto Trait Implementations§
impl Freeze for OpenApiSummary
impl RefUnwindSafe for OpenApiSummary
impl Send for OpenApiSummary
impl Sync for OpenApiSummary
impl Unpin for OpenApiSummary
impl UnsafeUnpin for OpenApiSummary
impl UnwindSafe for OpenApiSummary
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