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
Source§fn clone(&self) -> OpenApiSummary
fn clone(&self) -> OpenApiSummary
Returns a duplicate of the value. Read more
1.0.0 · 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 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