pub struct EndpointDoc {
pub method: String,
pub path: String,
pub summary: String,
pub description: String,
pub parameters: Vec<ParameterDoc>,
pub responses: HashMap<u16, ResponseDoc>,
pub tags: Vec<String>,
}
Expand description
API endpoint documentation
Fields§
§method: String
§path: String
§summary: String
§description: String
§parameters: Vec<ParameterDoc>
§responses: HashMap<u16, ResponseDoc>
Trait Implementations§
Source§impl Clone for EndpointDoc
impl Clone for EndpointDoc
Source§fn clone(&self) -> EndpointDoc
fn clone(&self) -> EndpointDoc
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 EndpointDoc
impl RefUnwindSafe for EndpointDoc
impl Send for EndpointDoc
impl Sync for EndpointDoc
impl Unpin for EndpointDoc
impl UnwindSafe for EndpointDoc
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