#[non_exhaustive]pub struct FileListResponse {
pub data: Vec<FileMetadata>,
pub has_more: bool,
pub first_id: Option<String>,
pub last_id: Option<String>,
pub cursor: Option<String>,
pub extra: HashMap<String, Value>,
}Expand description
A paginated page of files.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.data: Vec<FileMetadata>§has_more: bool§first_id: Option<String>§last_id: Option<String>§cursor: Option<String>§extra: HashMap<String, Value>Trait Implementations§
Source§impl Clone for FileListResponse
impl Clone for FileListResponse
Source§fn clone(&self) -> FileListResponse
fn clone(&self) -> FileListResponse
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 FileListResponse
impl Debug for FileListResponse
Source§impl<'de> Deserialize<'de> for FileListResponse
impl<'de> Deserialize<'de> for FileListResponse
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for FileListResponse
impl RefUnwindSafe for FileListResponse
impl Send for FileListResponse
impl Sync for FileListResponse
impl Unpin for FileListResponse
impl UnsafeUnpin for FileListResponse
impl UnwindSafe for FileListResponse
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