pub struct Headers<'a>(/* private fields */);
Implementations§
source§impl<'a> Headers<'a>
impl<'a> Headers<'a>
sourcepub fn e_tag(&self) -> Result<&str>
pub fn e_tag(&self) -> Result<&str>
The ETag contains a value that you can use to perform operations conditionally. If the request version is 2011-08-18 or newer, the ETag value will be in quotes.
sourcepub fn last_modified(&self) -> Result<OffsetDateTime>
pub fn last_modified(&self) -> Result<OffsetDateTime>
Returns the date and time the container was last modified. Any operation that modifies the blob, including an update of the blob’s metadata or properties, changes the last-modified time of the blob.
sourcepub fn content_md5(&self) -> Result<&str>
pub fn content_md5(&self) -> Result<&str>
If the blob has an MD5 hash and this operation is to read the full blob, this response header is returned so that the client can check for message content integrity.
sourcepub fn x_ms_client_request_id(&self) -> Result<&str>
pub fn x_ms_client_request_id(&self) -> Result<&str>
If a client request id header is sent in the request, this header will be present in the response with the same value.
sourcepub fn x_ms_request_id(&self) -> Result<&str>
pub fn x_ms_request_id(&self) -> Result<&str>
This header uniquely identifies the request that was made and can be used for troubleshooting the request.
sourcepub fn x_ms_version(&self) -> Result<&str>
pub fn x_ms_version(&self) -> Result<&str>
Indicates the version of the Blob service used to execute the request. This header is returned for requests made against version 2009-09-19 and above.
sourcepub fn x_ms_version_id(&self) -> Result<&str>
pub fn x_ms_version_id(&self) -> Result<&str>
A DateTime value returned by the service that uniquely identifies the blob. The value of this header indicates the blob version, and may be used in subsequent requests to access this version of the blob.
sourcepub fn date(&self) -> Result<OffsetDateTime>
pub fn date(&self) -> Result<OffsetDateTime>
UTC date/time value generated by the service that indicates the time at which the response was initiated
sourcepub fn x_ms_request_server_encrypted(&self) -> Result<bool>
pub fn x_ms_request_server_encrypted(&self) -> Result<bool>
The value of this header is set to true if the contents of the request are successfully encrypted using the specified algorithm, and false otherwise.
sourcepub fn x_ms_encryption_key_sha256(&self) -> Result<&str>
pub fn x_ms_encryption_key_sha256(&self) -> Result<&str>
The SHA-256 hash of the encryption key used to encrypt the blob. This header is only returned when the blob was encrypted with a customer-provided key.
sourcepub fn x_ms_encryption_scope(&self) -> Result<&str>
pub fn x_ms_encryption_scope(&self) -> Result<&str>
Returns the name of the encryption scope used to encrypt the blob contents and application metadata. Note that the absence of this header implies use of the default account encryption scope.