Struct actix_web_security::authentication::endpoint_matcher::SpecificUrlsMatcher [−][src]
pub struct SpecificUrlsMatcher { /* fields omitted */ }
The SpecificUrlsMatcher
can be used to protect endpoints with specific URLs.
Endpoints that do not match the given URLS are unprotected.
Valid credentials / token are required for all requests.
Implementations
impl SpecificUrlsMatcher
[src]
impl SpecificUrlsMatcher
[src]pub fn new(paths: Vec<String>) -> SpecificUrlsMatcher
[src]
Trait Implementations
impl Clone for SpecificUrlsMatcher
[src]
impl Clone for SpecificUrlsMatcher
[src]fn clone(&self) -> SpecificUrlsMatcher
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl EndpointMatcher for SpecificUrlsMatcher
[src]
impl EndpointMatcher for SpecificUrlsMatcher
[src]fn do_match(&self, req: &ServiceRequest) -> bool
[src]
Auto Trait Implementations
impl RefUnwindSafe for SpecificUrlsMatcher
impl RefUnwindSafe for SpecificUrlsMatcher
impl Send for SpecificUrlsMatcher
impl Send for SpecificUrlsMatcher
impl Sync for SpecificUrlsMatcher
impl Sync for SpecificUrlsMatcher
impl Unpin for SpecificUrlsMatcher
impl Unpin for SpecificUrlsMatcher
impl UnwindSafe for SpecificUrlsMatcher
impl UnwindSafe for SpecificUrlsMatcher
Blanket Implementations
impl<T> DowncastSync for T where
T: Any + Send + Sync,
[src]
impl<T> DowncastSync for T where
T: Any + Send + Sync,
[src]impl<T> Instrument for T
[src]
impl<T> Instrument for T
[src]pub fn instrument(self, span: Span) -> Instrumented<Self>
[src]
pub fn in_current_span(self) -> Instrumented<Self>
[src]
impl<T> Instrument for T
[src]
impl<T> Instrument for T
[src]pub fn instrument(self, span: Span) -> Instrumented<Self>
[src]
pub fn in_current_span(self) -> Instrumented<Self>
[src]
impl<T> Same<T> for T
impl<T> Same<T> for T
type Output = T
Should always be Self
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
impl<V, T> VZip<V> for T where
V: MultiLane<T>,