pub struct ApiDocumentation {
pub title: String,
pub version: String,
pub description: String,
pub endpoints: Vec<ApiEndpoint>,
}
Expand description
Complete API documentation
Fields§
§title: String
§version: String
§description: String
§endpoints: Vec<ApiEndpoint>
Trait Implementations§
Source§impl Clone for ApiDocumentation
impl Clone for ApiDocumentation
Source§fn clone(&self) -> ApiDocumentation
fn clone(&self) -> ApiDocumentation
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 ApiDocumentation
impl RefUnwindSafe for ApiDocumentation
impl Send for ApiDocumentation
impl Sync for ApiDocumentation
impl Unpin for ApiDocumentation
impl UnwindSafe for ApiDocumentation
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