pub struct Endpoint {
pub operation_id: &'static str,
pub method: &'static str,
pub path: &'static str,
pub path_params: &'static [&'static str],
pub query_params: &'static [&'static str],
pub required_query_params: &'static [&'static str],
pub has_body: bool,
pub request_type: Option<&'static str>,
pub response_type: Option<&'static str>,
pub tags: &'static [&'static str],
}Fields§
§operation_id: &'static str§method: &'static str§path: &'static str§path_params: &'static [&'static str]§query_params: &'static [&'static str]§required_query_params: &'static [&'static str]§has_body: bool§request_type: Option<&'static str>§response_type: Option<&'static str>Trait Implementations§
impl Copy for Endpoint
impl Eq for Endpoint
impl StructuralPartialEq for Endpoint
Auto Trait Implementations§
impl Freeze for Endpoint
impl RefUnwindSafe for Endpoint
impl Send for Endpoint
impl Sync for Endpoint
impl Unpin for Endpoint
impl UnsafeUnpin for Endpoint
impl UnwindSafe for Endpoint
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