pub struct BatchFile {
pub data: Vec<u8>,
pub filename: String,
pub mime_type: Option<String>,
}Expand description
A single file within a batch input.
Fields§
§data: Vec<u8>The raw file data (bytes).
filename: StringThe original filename.
mime_type: Option<String>The MIME type, if known.
Auto Trait Implementations§
impl Freeze for BatchFile
impl RefUnwindSafe for BatchFile
impl Send for BatchFile
impl Sync for BatchFile
impl Unpin for BatchFile
impl UnsafeUnpin for BatchFile
impl UnwindSafe for BatchFile
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