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
impl DownloadOptions[src]
impl DownloadOptions[src]pub fn new() -> Self[src]
pub fn new() -> Self[src]Create a new instance of DownloadOptions. Equivalent to DownloadOptions::default().
Example
use cloud_storage::DownloadOptions; let opts = DownloadOptions::new();
pub fn content_disposition(self, content_disposition: &str) -> Self[src]
pub fn content_disposition(self, content_disposition: &str) -> Self[src]Create a new instance of DownloadOptions. Equivalent to DownloadOptions::default().
Example
use cloud_storage::DownloadOptions; let opts = DownloadOptions::new() .content_disposition("attachment");
Trait Implementations
impl Default for DownloadOptions[src]
impl Default for DownloadOptions[src]fn default() -> DownloadOptions[src]
fn default() -> DownloadOptions[src]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
impl<T> BorrowMut<T> for T where
T: ?Sized, [src]
impl<T> BorrowMut<T> for T where
T: ?Sized, [src]pub fn borrow_mut(&mut self) -> &mut T[src]
pub fn borrow_mut(&mut self) -> &mut T[src]Mutably borrows from an owned value. Read more
impl<T> Instrument for T[src]
impl<T> Instrument for T[src]fn instrument(self, span: Span) -> Instrumented<Self>[src]
fn instrument(self, span: Span) -> Instrumented<Self>[src]Instruments this type with the provided Span, returning an
Instrumented wrapper. Read more
fn in_current_span(self) -> Instrumented<Self>[src]
fn in_current_span(self) -> Instrumented<Self>[src]