pub struct PutOptions { /* private fields */ }Expand description
Options for a single object put.
Implementations§
Source§impl PutOptions
impl PutOptions
Sourcepub fn idempotency_key(self, value: impl Into<String>) -> Self
pub fn idempotency_key(self, value: impl Into<String>) -> Self
Attach an account-scoped idempotency key retained for seven days.
Sourcepub fn content_type(self, value: impl Into<String>) -> Self
pub fn content_type(self, value: impl Into<String>) -> Self
Set the immutable content type for this version.
Sourcepub fn content_encoding(self, value: impl Into<String>) -> Self
pub fn content_encoding(self, value: impl Into<String>) -> Self
Set the immutable content encoding for this version.
Sourcepub fn cache_control(self, value: impl Into<String>) -> Self
pub fn cache_control(self, value: impl Into<String>) -> Self
Set the immutable cache-control value for this version.
Sourcepub fn content_disposition(self, value: impl Into<String>) -> Self
pub fn content_disposition(self, value: impl Into<String>) -> Self
Set the immutable content disposition for this version.
Sourcepub fn content_language(self, value: impl Into<String>) -> Self
pub fn content_language(self, value: impl Into<String>) -> Self
Set the immutable content language for this version.
Sourcepub fn expires_unix_seconds(self, value: i64) -> Self
pub fn expires_unix_seconds(self, value: i64) -> Self
Set the immutable HTTP expiry time as Unix seconds.
Trait Implementations§
Source§impl Clone for PutOptions
impl Clone for PutOptions
Source§impl Debug for PutOptions
impl Debug for PutOptions
Auto Trait Implementations§
impl Freeze for PutOptions
impl RefUnwindSafe for PutOptions
impl Send for PutOptions
impl Sync for PutOptions
impl Unpin for PutOptions
impl UnsafeUnpin for PutOptions
impl UnwindSafe for PutOptions
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§fn in_current_span(self) -> Instrumented<Self> ⓘ
fn in_current_span(self) -> Instrumented<Self> ⓘ
Source§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
Source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
Wrap the input message
T in a tonic::Request