pub struct Headers<'a>(/* private fields */);
Implementations§
source§impl<'a> Headers<'a>
impl<'a> Headers<'a>
sourcepub fn x_ms_snapshot(&self) -> Result<&str>
pub fn x_ms_snapshot(&self) -> Result<&str>
Uniquely identifies the snapshot and indicates the snapshot version. It may be used in subsequent requests to access the snapshot
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 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>
True if the contents of the request are successfully encrypted using the specified algorithm, and false otherwise. For a snapshot request, this header is set to true when metadata was provided in the request and encrypted with a customer-provided key.