pub struct RouteAnnotation {
pub auth: Auth,
pub docs: Option<Docs>,
pub sso_provider: Option<SsoProvider>,
}
Fields§
§auth: Auth
§docs: Option<Docs>
§sso_provider: Option<SsoProvider>
Implementations§
Source§impl RouteAnnotation
impl RouteAnnotation
pub fn is_auth_required(&self) -> bool
pub fn is_jwt_auth(&self) -> bool
pub fn or(self, other: &RouteAnnotation) -> Self
Trait Implementations§
Source§impl Clone for RouteAnnotation
impl Clone for RouteAnnotation
Source§fn clone(&self) -> RouteAnnotation
fn clone(&self) -> RouteAnnotation
Returns a duplicate of the value. Read more
1.0.0 · Source§const fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for RouteAnnotation
impl Debug for RouteAnnotation
Source§impl Default for RouteAnnotation
impl Default for RouteAnnotation
Source§fn default() -> RouteAnnotation
fn default() -> RouteAnnotation
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for RouteAnnotation
impl RefUnwindSafe for RouteAnnotation
impl Send for RouteAnnotation
impl Sync for RouteAnnotation
impl Unpin for RouteAnnotation
impl UnwindSafe for RouteAnnotation
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