pub struct ListUsers(/* private fields */);Expand description
GET /admin/list-users: needs user:list. Search, filters, sorting and paging all
run in the database; total counts every match.
Trait Implementations§
Source§impl<D: Adapter> Endpoint<D> for ListUsers
impl<D: Adapter> Endpoint<D> for ListUsers
const METHOD: Method = Method::GET
const PATH: &'static str = "/admin/list-users"
type Access = MaybeAuthenticated
type Input = ListUsersQuery
type Output = UserList
async fn call( &self, ctx: Ctx<D, MaybeAuthenticated>, query: ListUsersQuery, ) -> Result<UserList, AuthError>
Auto Trait Implementations§
impl Forget for ListUsers
impl Freeze for ListUsers
impl Move for ListUsers
impl RefUnwindSafe for ListUsers
impl Send for ListUsers
impl Sync for ListUsers
impl Unpin for ListUsers
impl UnsafeUnpin for ListUsers
impl UnwindSafe for ListUsers
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