pub struct PutObjectRequest {
pub chunk: Chunk,
pub content_type: Option<String>,
pub content_encoding: Option<String>,
}
Expand description
Parameter for PutObject operation
Fields§
§chunk: Chunk
File path and initial data
content_type: Option<String>
A MIME type of the object see http://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html#sec14.17
content_encoding: Option<String>
Specifies what content encodings have been applied to the object and thus what decoding mechanisms must be applied to obtain the media-type referenced by the contentType field. For more information, see http://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html#sec14.11.
Trait Implementations§
source§impl Clone for PutObjectRequest
impl Clone for PutObjectRequest
source§fn clone(&self) -> PutObjectRequest
fn clone(&self) -> PutObjectRequest
Returns a copy 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 PutObjectRequest
impl Debug for PutObjectRequest
source§impl Default for PutObjectRequest
impl Default for PutObjectRequest
source§fn default() -> PutObjectRequest
fn default() -> PutObjectRequest
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for PutObjectRequest
impl<'de> Deserialize<'de> for PutObjectRequest
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl PartialEq<PutObjectRequest> for PutObjectRequest
impl PartialEq<PutObjectRequest> for PutObjectRequest
source§fn eq(&self, other: &PutObjectRequest) -> bool
fn eq(&self, other: &PutObjectRequest) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.