pub struct UploadFileConfig {
pub http_options: Option<HttpOptions>,
pub name: Option<String>,
pub mime_type: Option<String>,
pub display_name: Option<String>,
}Expand description
Upload file configuration.
Fields§
§http_options: Option<HttpOptions>Optional. HTTP request overrides (SDK only, not sent to API).
name: Option<String>§mime_type: Option<String>§display_name: Option<String>Trait Implementations§
Source§impl Clone for UploadFileConfig
impl Clone for UploadFileConfig
Source§fn clone(&self) -> UploadFileConfig
fn clone(&self) -> UploadFileConfig
Returns a duplicate of the value. Read more
1.0.0 · 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 UploadFileConfig
impl Debug for UploadFileConfig
Source§impl Default for UploadFileConfig
impl Default for UploadFileConfig
Source§fn default() -> UploadFileConfig
fn default() -> UploadFileConfig
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for UploadFileConfig
impl<'de> Deserialize<'de> for UploadFileConfig
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 UploadFileConfig
impl RefUnwindSafe for UploadFileConfig
impl Send for UploadFileConfig
impl Sync for UploadFileConfig
impl Unpin for UploadFileConfig
impl UnsafeUnpin for UploadFileConfig
impl UnwindSafe for UploadFileConfig
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