pub struct RouteView {
pub method: String,
pub path: String,
pub id: String,
pub kind: CapabilityKind,
}Expand description
One HTTP route.
Fields§
§method: StringGET or POST.
path: StringThe path.
id: StringThe canonical id, the document’s operationId.
kind: CapabilityKindquery, command or resource.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for RouteView
impl RefUnwindSafe for RouteView
impl Send for RouteView
impl Sync for RouteView
impl Unpin for RouteView
impl UnsafeUnpin for RouteView
impl UnwindSafe for RouteView
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