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 DownloadOptions
impl Send for DownloadOptions
impl Sync for DownloadOptions
impl Unpin for DownloadOptions
impl UnwindSafe for DownloadOptions
Blanket Implementations
Mutably borrows from an owned value. Read more
Instruments this type with the provided Span
, returning an
Instrumented
wrapper. Read more
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more