pub struct ListContainerFilesQueryArgs { /* private fields */ }Expand description
Builder for ListContainerFilesQuery.
Implementations§
Source§impl ListContainerFilesQueryArgs
impl ListContainerFilesQueryArgs
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 order<VALUE: Into<String>>(&mut self, value: VALUE) -> &mut Self
pub fn order<VALUE: Into<String>>(&mut self, value: VALUE) -> &mut Self
Sort order by the created_at timestamp of the objects. asc for ascending order and desc for descending order.
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 build(&self) -> Result<ListContainerFilesQuery, OpenAIError>
pub fn build(&self) -> Result<ListContainerFilesQuery, OpenAIError>
Trait Implementations§
Source§impl Clone for ListContainerFilesQueryArgs
impl Clone for ListContainerFilesQueryArgs
Source§fn clone(&self) -> ListContainerFilesQueryArgs
fn clone(&self) -> ListContainerFilesQueryArgs
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 ListContainerFilesQueryArgs
impl Debug for ListContainerFilesQueryArgs
Auto Trait Implementations§
impl Freeze for ListContainerFilesQueryArgs
impl RefUnwindSafe for ListContainerFilesQueryArgs
impl Send for ListContainerFilesQueryArgs
impl Sync for ListContainerFilesQueryArgs
impl Unpin for ListContainerFilesQueryArgs
impl UnwindSafe for ListContainerFilesQueryArgs
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