pub struct EndpointDefinition {
pub name: &'static str,
pub operation_id: &'static str,
pub path: Option<String>,
pub method: HttpMethod,
}Expand description
An operation registered by an installed plugin, independently of its HTTP routes.
Fields§
§name: &'static str§operation_id: &'static str§path: Option<String>§method: HttpMethodTrait Implementations§
Source§impl Clone for EndpointDefinition
impl Clone for EndpointDefinition
Auto Trait Implementations§
impl Freeze for EndpointDefinition
impl RefUnwindSafe for EndpointDefinition
impl Send for EndpointDefinition
impl Sync for EndpointDefinition
impl Unpin for EndpointDefinition
impl UnsafeUnpin for EndpointDefinition
impl UnwindSafe for EndpointDefinition
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