pub struct ListBatchesQueryArgs { /* private fields */ }Expand description
Builder for ListBatchesQuery.
Implementations§
Source§impl ListBatchesQueryArgs
impl ListBatchesQueryArgs
Sourcepub fn after<VALUE>(&mut self, value: VALUE) -> &mut ListBatchesQueryArgs
pub fn after<VALUE>(&mut self, value: VALUE) -> &mut ListBatchesQueryArgs
A cursor for use in pagination. after is an object ID that defines your place in the list.
Sourcepub fn limit<VALUE>(&mut self, value: VALUE) -> &mut ListBatchesQueryArgs
pub fn limit<VALUE>(&mut self, value: VALUE) -> &mut ListBatchesQueryArgs
A limit on the number of objects to be returned. Limit can range between 1 and 100, and the default is 20.
Sourcepub fn build(&self) -> Result<ListBatchesQuery, OpenAIError>
pub fn build(&self) -> Result<ListBatchesQuery, OpenAIError>
Trait Implementations§
Source§impl Clone for ListBatchesQueryArgs
impl Clone for ListBatchesQueryArgs
Source§fn clone(&self) -> ListBatchesQueryArgs
fn clone(&self) -> ListBatchesQueryArgs
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 ListBatchesQueryArgs
impl Debug for ListBatchesQueryArgs
Source§impl Default for ListBatchesQueryArgs
impl Default for ListBatchesQueryArgs
Source§fn default() -> ListBatchesQueryArgs
fn default() -> ListBatchesQueryArgs
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for ListBatchesQueryArgs
impl RefUnwindSafe for ListBatchesQueryArgs
impl Send for ListBatchesQueryArgs
impl Sync for ListBatchesQueryArgs
impl Unpin for ListBatchesQueryArgs
impl UnsafeUnpin for ListBatchesQueryArgs
impl UnwindSafe for ListBatchesQueryArgs
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