pub struct UploadOptions {
pub content_type: Option<String>,
pub content_encoding: Option<String>,
pub cache_control: Option<String>,
pub metadata: HashMap<String, String>,
pub encryption: Option<StorageEncryption>,
pub storage_class: Option<String>,
}Expand description
Cloud storage upload options.
Fields§
§content_type: Option<String>Content type.
content_encoding: Option<String>Content encoding.
cache_control: Option<String>Cache control header.
metadata: HashMap<String, String>Custom metadata.
encryption: Option<StorageEncryption>Server-side encryption.
storage_class: Option<String>Storage class.
Trait Implementations§
Source§impl Clone for UploadOptions
impl Clone for UploadOptions
Source§fn clone(&self) -> UploadOptions
fn clone(&self) -> UploadOptions
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 UploadOptions
impl Debug for UploadOptions
Source§impl Default for UploadOptions
impl Default for UploadOptions
Source§fn default() -> UploadOptions
fn default() -> UploadOptions
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for UploadOptions
impl<'de> Deserialize<'de> for UploadOptions
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 UploadOptions
impl RefUnwindSafe for UploadOptions
impl Send for UploadOptions
impl Sync for UploadOptions
impl Unpin for UploadOptions
impl UnsafeUnpin for UploadOptions
impl UnwindSafe for UploadOptions
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