pub struct ListFilesResponse {
pub files: Vec<File>,
pub next_page_token: Option<String>,
}
Expand description
Response from the Gemini API for listing files.
Fields§
§files: Vec<File>
A list of files.
next_page_token: Option<String>
A token to retrieve the next page of results.
Trait Implementations§
Source§impl Debug for ListFilesResponse
impl Debug for ListFilesResponse
Source§impl<'de> Deserialize<'de> for ListFilesResponse
impl<'de> Deserialize<'de> for ListFilesResponse
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 ListFilesResponse
impl RefUnwindSafe for ListFilesResponse
impl Send for ListFilesResponse
impl Sync for ListFilesResponse
impl Unpin for ListFilesResponse
impl UnwindSafe for ListFilesResponse
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