Struct cloud_storage::DownloadOptions [−][src]
pub struct DownloadOptions { /* fields omitted */ }Expand description
A set of parameters that can be used to customise signed urls.
Implementations
Create a new instance of DownloadOptions. Equivalent to DownloadOptions::default().
Example
use cloud_storage::DownloadOptions; let opts = DownloadOptions::new();
Create a new instance of DownloadOptions. Equivalent to DownloadOptions::default().
Example
use cloud_storage::DownloadOptions; let opts = DownloadOptions::new() .content_disposition("attachment");
Trait Implementations
Returns the “default value” for a type. Read more
Auto Trait Implementations
impl RefUnwindSafe for DownloadOptionsimpl Send for DownloadOptionsimpl Sync for DownloadOptionsimpl Unpin for DownloadOptionsimpl UnwindSafe for DownloadOptions