pub struct FileList {
pub data: Vec<FileData>,
pub object: String,
}
Fields§
§data: Vec<FileData>
A vector of FileData
objects representing the files returned by the API.
object: String
A string representing the object type returned by the API. This should always be “list”.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for FileList
impl<'de> Deserialize<'de> for FileList
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 FileList
impl RefUnwindSafe for FileList
impl Send for FileList
impl Sync for FileList
impl Unpin for FileList
impl UnwindSafe for FileList
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