pub struct ApiRouteDef {
pub method: &'static str,
pub pattern: &'static str,
pub op_id: &'static str,
pub tag: &'static str,
pub summary: &'static str,
pub scopes: &'static [&'static str],
pub surface: ApiSurface,
pub line: ReleaseLine,
}Expand description
Declarative API route definition driving OpenAPI 3.1.0 generation and route audits.
Fields§
§method: &'static str§pattern: &'static str§op_id: &'static str§tag: &'static str§summary: &'static str§scopes: &'static [&'static str]§surface: ApiSurface§line: ReleaseLineTrait Implementations§
Source§impl Clone for ApiRouteDef
impl Clone for ApiRouteDef
impl Copy for ApiRouteDef
Auto Trait Implementations§
impl Forget for ApiRouteDef
impl Freeze for ApiRouteDef
impl Move for ApiRouteDef
impl RefUnwindSafe for ApiRouteDef
impl Send for ApiRouteDef
impl Sync for ApiRouteDef
impl Unpin for ApiRouteDef
impl UnsafeUnpin for ApiRouteDef
impl UnwindSafe for ApiRouteDef
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