pub struct SearchUsersParams<'a> {
pub query: Option<&'a str>,
pub is_active: Option<bool>,
pub has_mfa: Option<bool>,
pub email_verified: Option<bool>,
pub limit: u32,
pub offset: u32,
}Expand description
Parameters for searching/filtering users in the admin directory.
Fields§
§query: Option<&'a str>§is_active: Option<bool>§has_mfa: Option<bool>§email_verified: Option<bool>Optional filter on email_verified. Some(true) returns only users
with verified emails; Some(false) only unverified; None includes
both. Surfaced for the dashboard user-management page (99c.4).
limit: u32§offset: u32Auto Trait Implementations§
impl<'a> Freeze for SearchUsersParams<'a>
impl<'a> RefUnwindSafe for SearchUsersParams<'a>
impl<'a> Send for SearchUsersParams<'a>
impl<'a> Sync for SearchUsersParams<'a>
impl<'a> Unpin for SearchUsersParams<'a>
impl<'a> UnsafeUnpin for SearchUsersParams<'a>
impl<'a> UnwindSafe for SearchUsersParams<'a>
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
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more