pub struct RegisteredClientCollection<S, P>where
S: Clone,{ /* private fields */ }Expand description
This endpoint implements the RegisteredClientCollection component.
It can be mounted on the following components:
Implementations§
Source§impl<S, P> RegisteredClientCollection<S, P>where
S: AsRef<dyn AuthenticateRequest> + Clone + Send + Sync + 'static,
P: OperationPrivilegeMapping + 'static,
<P as OperationPrivilegeMapping>::Get: Send,
<P as OperationPrivilegeMapping>::Post: Send,
impl<S, P> RegisteredClientCollection<S, P>where
S: AsRef<dyn AuthenticateRequest> + Clone + Send + Sync + 'static,
P: OperationPrivilegeMapping + 'static,
<P as OperationPrivilegeMapping>::Get: Send,
<P as OperationPrivilegeMapping>::Post: Send,
pub fn get<H, T>(self, handler: H) -> RegisteredClientCollection<S, P>where
H: Handler<T, S>,
T: 'static,
pub fn post<H, T>(self, handler: H) -> RegisteredClientCollection<S, P>where
H: Handler<T, S>,
T: 'static,
Sourcepub fn registered_client(
self,
registered_client: Router<S>,
) -> RegisteredClientCollection<S, P>
pub fn registered_client( self, registered_client: Router<S>, ) -> RegisteredClientCollection<S, P>
Serves an instance of a RegisteredClient.
pub fn into_router(self) -> Router<S>
Auto Trait Implementations§
impl<S, P> Freeze for RegisteredClientCollection<S, P>
impl<S, P> !RefUnwindSafe for RegisteredClientCollection<S, P>
impl<S, P> Send for RegisteredClientCollection<S, P>
impl<S, P> !Sync for RegisteredClientCollection<S, P>
impl<S, P> Unpin for RegisteredClientCollection<S, P>
impl<S, P> !UnwindSafe for RegisteredClientCollection<S, P>
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