Struct salvo_oapi::endpoint::Endpoint
source · pub struct Endpoint {
pub operation: Operation,
pub components: Components,
}
Expand description
Represents an endpoint.
View module level documentation for more details.
Fields§
§operation: Operation
The operation information of the endpoint.
components: Components
The OpenApi components section of the endpoint.
Implementations§
Auto Trait Implementations§
impl Freeze for Endpoint
impl RefUnwindSafe for Endpoint
impl Send for Endpoint
impl Sync for Endpoint
impl Unpin 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