pub struct FileUploadOptions {
pub purpose: Option<String>,
pub mime_type: Option<String>,
}Expand description
Options for uploading a file.
Fields§
§purpose: Option<String>§mime_type: Option<String>Trait Implementations§
Source§impl Clone for FileUploadOptions
impl Clone for FileUploadOptions
Source§fn clone(&self) -> FileUploadOptions
fn clone(&self) -> FileUploadOptions
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 FileUploadOptions
impl Debug for FileUploadOptions
Source§impl Default for FileUploadOptions
impl Default for FileUploadOptions
Source§fn default() -> FileUploadOptions
fn default() -> FileUploadOptions
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for FileUploadOptions
impl RefUnwindSafe for FileUploadOptions
impl Send for FileUploadOptions
impl Sync for FileUploadOptions
impl Unpin for FileUploadOptions
impl UnsafeUnpin for FileUploadOptions
impl UnwindSafe for FileUploadOptions
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