#[non_exhaustive]pub struct ListRoleUsersOptionalParams {
pub page_size: Option<i64>,
pub page_number: Option<i64>,
pub sort: Option<String>,
pub filter: Option<String>,
}
Expand description
ListRoleUsersOptionalParams is a struct for passing parameters to the method RolesAPI::list_role_users
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.page_size: Option<i64>
Size for a given page. The maximum allowed value is 100.
page_number: Option<i64>
Specific page number to return.
sort: Option<String>
User attribute to order results by. Sort order is ascending by default.
Sort order is descending if the field is prefixed by a negative sign,
for example sort=-name
. Options: name
, email
, status
.
filter: Option<String>
Filter all users by the given string. Defaults to no filtering.
Implementations§
Source§impl ListRoleUsersOptionalParams
impl ListRoleUsersOptionalParams
Sourcepub fn page_size(self, value: i64) -> Self
pub fn page_size(self, value: i64) -> Self
Size for a given page. The maximum allowed value is 100.
Sourcepub fn page_number(self, value: i64) -> Self
pub fn page_number(self, value: i64) -> Self
Specific page number to return.
Trait Implementations§
Source§impl Clone for ListRoleUsersOptionalParams
impl Clone for ListRoleUsersOptionalParams
Source§fn clone(&self) -> ListRoleUsersOptionalParams
fn clone(&self) -> ListRoleUsersOptionalParams
Returns a duplicate 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 moreSource§impl Debug for ListRoleUsersOptionalParams
impl Debug for ListRoleUsersOptionalParams
Source§impl Default for ListRoleUsersOptionalParams
impl Default for ListRoleUsersOptionalParams
Source§fn default() -> ListRoleUsersOptionalParams
fn default() -> ListRoleUsersOptionalParams
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for ListRoleUsersOptionalParams
impl RefUnwindSafe for ListRoleUsersOptionalParams
impl Send for ListRoleUsersOptionalParams
impl Sync for ListRoleUsersOptionalParams
impl Unpin for ListRoleUsersOptionalParams
impl UnwindSafe for ListRoleUsersOptionalParams
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