pub struct PutObjectHeaders {
pub x_dtz_expiration: Option<String>,
pub x_dtz_expire_in: Option<String>,
pub x_dtz_expire_at: Option<String>,
pub x_dtz_realm: Option<String>,
}Expand description
struct for passing optional header parameters to the method put_object
Fields§
§x_dtz_expiration: Option<String>expiration of the object, format is a iso8601 duration,e.g. "P1D" for 1 day, "PT2H" for 2 hours
x_dtz_expire_in: Option<String>expiration of the object, format is a iso8601 duration,e.g. "P1D" for 1 day, "PT2H" for 2 hours
x_dtz_expire_at: Option<String>expiration of the object, format is a rfc3339 timestamp, e.g. "2025-04-01T13:44:00Z"
x_dtz_realm: Option<String>see docs https://downtozero.cloud/docs e.g. dtz-objectstore
Trait Implementations§
Source§impl Clone for PutObjectHeaders
impl Clone for PutObjectHeaders
Source§fn clone(&self) -> PutObjectHeaders
fn clone(&self) -> PutObjectHeaders
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for PutObjectHeaders
impl Debug for PutObjectHeaders
Source§impl Default for PutObjectHeaders
impl Default for PutObjectHeaders
Source§fn default() -> PutObjectHeaders
fn default() -> PutObjectHeaders
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for PutObjectHeaders
impl RefUnwindSafe for PutObjectHeaders
impl Send for PutObjectHeaders
impl Sync for PutObjectHeaders
impl Unpin for PutObjectHeaders
impl UnwindSafe for PutObjectHeaders
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