Skip to main content

ObjectAccessURLOptions

Type Alias ObjectAccessURLOptions 

Source
pub type ObjectAccessURLOptions = PresignOptions;
Expand description

Options for creating a host-mediated object access URL.

Aliased Type§

pub struct ObjectAccessURLOptions {
    pub method: PresignMethod,
    pub expires: Duration,
    pub content_type: String,
    pub content_disposition: String,
    pub headers: BTreeMap<String, String>,
}

Fields§

§method: PresignMethod

HTTP method encoded into the URL.

§expires: Duration

Requested URL lifetime.

§content_type: String

Required content type for upload-style URLs.

§content_disposition: String

Required content disposition for upload-style URLs.

§headers: BTreeMap<String, String>

Additional signed headers.