pub struct NoAuthDef {
pub path: &'static str,
}Expand description
无需认证的路径定义 —— 由 #[no_auth] 宏注解生成
在路径列表中指定的接口将绕过 AuthLayer 中间件。
Fields§
§path: &'static strURL 路径
Trait Implementations§
Auto Trait Implementations§
impl Freeze for NoAuthDef
impl RefUnwindSafe for NoAuthDef
impl Send for NoAuthDef
impl Sync for NoAuthDef
impl Unpin for NoAuthDef
impl UnsafeUnpin for NoAuthDef
impl UnwindSafe for NoAuthDef
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