pub struct ListGroupsQueryArgs { /* private fields */ }Available on crate feature
administration-types only.Expand description
Builder for ListGroupsQuery.
Implementations§
Source§impl ListGroupsQueryArgs
impl ListGroupsQueryArgs
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 groups to be returned. Limit can range between 0 and 1000, and the default is 100.
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 a group ID that defines your place in the list.
Sourcepub fn order<VALUE: Into<ListGroupsOrder>>(&mut self, value: VALUE) -> &mut Self
pub fn order<VALUE: Into<ListGroupsOrder>>(&mut self, value: VALUE) -> &mut Self
Specifies the sort order of the returned groups.
Sourcepub fn build(&self) -> Result<ListGroupsQuery, OpenAIError>
pub fn build(&self) -> Result<ListGroupsQuery, OpenAIError>
Trait Implementations§
Source§impl Clone for ListGroupsQueryArgs
impl Clone for ListGroupsQueryArgs
Source§fn clone(&self) -> ListGroupsQueryArgs
fn clone(&self) -> ListGroupsQueryArgs
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 ListGroupsQueryArgs
impl Debug for ListGroupsQueryArgs
Auto Trait Implementations§
impl Freeze for ListGroupsQueryArgs
impl RefUnwindSafe for ListGroupsQueryArgs
impl Send for ListGroupsQueryArgs
impl Sync for ListGroupsQueryArgs
impl Unpin for ListGroupsQueryArgs
impl UnsafeUnpin for ListGroupsQueryArgs
impl UnwindSafe for ListGroupsQueryArgs
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