Skip to main content

ObjectAccessURL

Type Alias ObjectAccessURL 

Source
pub type ObjectAccessURL = PresignResult;
Expand description

Result returned when creating a host-mediated object access URL.

Aliased Type§

pub struct ObjectAccessURL {
    pub url: String,
    pub method: PresignMethod,
    pub expires_at: Option<Timestamp>,
    pub headers: BTreeMap<String, String>,
}

Fields§

§url: String

URL clients should use.

§method: PresignMethod

HTTP method clients should use.

§expires_at: Option<Timestamp>

Expiration timestamp, when known.

§headers: BTreeMap<String, String>

Headers clients must send with the URL.