pub struct HeadObjectInput {Show 21 fields
pub bucket: String,
pub checksum_mode: Option<ChecksumMode>,
pub expected_bucket_owner: Option<String>,
pub if_match: Option<String>,
pub if_modified_since: Option<DateTime<Utc>>,
pub if_none_match: Option<String>,
pub if_unmodified_since: Option<DateTime<Utc>>,
pub key: String,
pub part_number: Option<i32>,
pub range: Option<String>,
pub request_payer: Option<RequestPayer>,
pub response_cache_control: Option<String>,
pub response_content_disposition: Option<String>,
pub response_content_encoding: Option<String>,
pub response_content_language: Option<String>,
pub response_content_type: Option<String>,
pub response_expires: Option<DateTime<Utc>>,
pub sse_customer_algorithm: Option<String>,
pub sse_customer_key: Option<String>,
pub sse_customer_key_md5: Option<String>,
pub version_id: Option<String>,
}Expand description
S3 HeadObjectInput.
Fields§
§bucket: StringHTTP label (URI path).
checksum_mode: Option<ChecksumMode>HTTP header: x-amz-checksum-mode.
expected_bucket_owner: Option<String>HTTP header: x-amz-expected-bucket-owner.
if_match: Option<String>HTTP header: If-Match.
if_modified_since: Option<DateTime<Utc>>HTTP header: If-Modified-Since.
if_none_match: Option<String>HTTP header: If-None-Match.
if_unmodified_since: Option<DateTime<Utc>>HTTP header: If-Unmodified-Since.
key: StringHTTP label (URI path).
part_number: Option<i32>HTTP query: partNumber.
range: Option<String>HTTP header: Range.
request_payer: Option<RequestPayer>HTTP header: x-amz-request-payer.
response_cache_control: Option<String>HTTP query: response-cache-control.
response_content_disposition: Option<String>HTTP query: response-content-disposition.
response_content_encoding: Option<String>HTTP query: response-content-encoding.
response_content_language: Option<String>HTTP query: response-content-language.
response_content_type: Option<String>HTTP query: response-content-type.
response_expires: Option<DateTime<Utc>>HTTP query: response-expires.
sse_customer_algorithm: Option<String>HTTP header: x-amz-server-side-encryption-customer-algorithm.
sse_customer_key: Option<String>HTTP header: x-amz-server-side-encryption-customer-key.
sse_customer_key_md5: Option<String>HTTP header: x-amz-server-side-encryption-customer-key-MD5.
version_id: Option<String>HTTP query: versionId.
Trait Implementations§
Source§impl Clone for HeadObjectInput
impl Clone for HeadObjectInput
Source§fn clone(&self) -> HeadObjectInput
fn clone(&self) -> HeadObjectInput
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 HeadObjectInput
impl Debug for HeadObjectInput
Source§impl Default for HeadObjectInput
impl Default for HeadObjectInput
Source§fn default() -> HeadObjectInput
fn default() -> HeadObjectInput
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for HeadObjectInput
impl RefUnwindSafe for HeadObjectInput
impl Send for HeadObjectInput
impl Sync for HeadObjectInput
impl Unpin for HeadObjectInput
impl UnsafeUnpin for HeadObjectInput
impl UnwindSafe for HeadObjectInput
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