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