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 for PutObjectRequest
impl PartialEq for PutObjectRequest
Source§impl Serialize for PutObjectRequest
impl Serialize for PutObjectRequest
impl Eq for PutObjectRequest
impl StructuralPartialEq for PutObjectRequest
Auto Trait Implementations§
impl Freeze for PutObjectRequest
impl RefUnwindSafe for PutObjectRequest
impl Send for PutObjectRequest
impl Sync for PutObjectRequest
impl Unpin for PutObjectRequest
impl UnwindSafe for PutObjectRequest
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<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.