pub struct HttpView {
pub routes: Vec<RouteView>,
pub infrastructure: Vec<ProjectionRoute>,
pub openapi_path: String,
}Expand description
The HTTP surface as the registry projects it.
Fields§
§routes: Vec<RouteView>The capability routes, in registry order.
infrastructure: Vec<ProjectionRoute>The projection’s own routes, not capabilities: each with what it is and whether a publication can carry it, so a page can tell a link from a promise.
openapi_path: StringWhere the OpenAPI document is committed, repository-relative.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for HttpView
impl RefUnwindSafe for HttpView
impl Send for HttpView
impl Sync for HttpView
impl Unpin for HttpView
impl UnsafeUnpin for HttpView
impl UnwindSafe for HttpView
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