pub struct ListUsersQueryArgs { /* private fields */ }Available on crate feature
administration-types only.Expand description
Builder for ListUsersQuery.
Implementations§
Source§impl ListUsersQueryArgs
impl ListUsersQueryArgs
Sourcepub fn limit<VALUE: Into<u32>>(&mut self, value: VALUE) -> &mut Self
pub fn limit<VALUE: Into<u32>>(&mut self, value: VALUE) -> &mut Self
A limit on the number of objects to be returned. Limit can range between 1 and 100, and the default is 20.
Sourcepub fn after<VALUE: Into<String>>(&mut self, value: VALUE) -> &mut Self
pub fn after<VALUE: Into<String>>(&mut self, value: VALUE) -> &mut Self
A cursor for use in pagination. after is an object ID that defines your place in the
list.
Sourcepub fn emails<VALUE: Into<Vec<String>>>(&mut self, value: VALUE) -> &mut Self
pub fn emails<VALUE: Into<Vec<String>>>(&mut self, value: VALUE) -> &mut Self
Filter by the email address of users.
Sourcepub fn build(&self) -> Result<ListUsersQuery, OpenAIError>
pub fn build(&self) -> Result<ListUsersQuery, OpenAIError>
Trait Implementations§
Source§impl Clone for ListUsersQueryArgs
impl Clone for ListUsersQueryArgs
Source§fn clone(&self) -> ListUsersQueryArgs
fn clone(&self) -> ListUsersQueryArgs
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 ListUsersQueryArgs
impl Debug for ListUsersQueryArgs
Auto Trait Implementations§
impl Freeze for ListUsersQueryArgs
impl RefUnwindSafe for ListUsersQueryArgs
impl Send for ListUsersQueryArgs
impl Sync for ListUsersQueryArgs
impl Unpin for ListUsersQueryArgs
impl UnsafeUnpin for ListUsersQueryArgs
impl UnwindSafe for ListUsersQueryArgs
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