pub struct FileListParams {
pub purpose: Option<String>,
pub limit: Option<u32>,
pub after: Option<String>,
}Expand description
Filters for crate::resources::Files::list.
Fields§
§purpose: Option<String>Restrict to a single purpose.
limit: Option<u32>Page size.
after: Option<String>Cursor: return files after this id.
Trait Implementations§
Source§impl Clone for FileListParams
impl Clone for FileListParams
Source§fn clone(&self) -> FileListParams
fn clone(&self) -> FileListParams
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 FileListParams
impl Debug for FileListParams
Source§impl Default for FileListParams
impl Default for FileListParams
Source§fn default() -> FileListParams
fn default() -> FileListParams
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for FileListParams
impl RefUnwindSafe for FileListParams
impl Send for FileListParams
impl Sync for FileListParams
impl Unpin for FileListParams
impl UnsafeUnpin for FileListParams
impl UnwindSafe for FileListParams
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