Struct jwt_authorizer::layer::AsyncAuthorizationLayer
source · pub struct AsyncAuthorizationLayer<C>where
C: Clone + DeserializeOwned + Send,{ /* private fields */ }Implementations§
source§impl<C> AsyncAuthorizationLayer<C>where
C: Clone + DeserializeOwned + Send,
impl<C> AsyncAuthorizationLayer<C>where
C: Clone + DeserializeOwned + Send,
pub fn new(auth: Arc<Authorizer<C>>) -> AsyncAuthorizationLayer<C>
Trait Implementations§
source§impl<C> Clone for AsyncAuthorizationLayer<C>where
C: Clone + DeserializeOwned + Send + Clone,
impl<C> Clone for AsyncAuthorizationLayer<C>where
C: Clone + DeserializeOwned + Send + Clone,
source§fn clone(&self) -> AsyncAuthorizationLayer<C>
fn clone(&self) -> AsyncAuthorizationLayer<C>
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read more