pub struct Headers<'a>(/* private fields */);
Implementations§
source§impl<'a> Headers<'a>
impl<'a> Headers<'a>
pub fn x_ms_meta(&self) -> Result<&str>
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_lease_duration(&self) -> Result<&str>
pub fn x_ms_lease_duration(&self) -> Result<&str>
When a blob is leased, specifies whether the lease is of infinite or fixed duration.
sourcepub fn x_ms_lease_state(&self) -> Result<&str>
pub fn x_ms_lease_state(&self) -> Result<&str>
Lease state of the blob.
sourcepub fn x_ms_lease_status(&self) -> Result<&str>
pub fn x_ms_lease_status(&self) -> Result<&str>
The current lease status 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 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_blob_public_access(&self) -> Result<&str>
pub fn x_ms_blob_public_access(&self) -> Result<&str>
Indicated whether data in the container may be accessed publicly and the level of access
sourcepub fn x_ms_has_immutability_policy(&self) -> Result<bool>
pub fn x_ms_has_immutability_policy(&self) -> Result<bool>
Indicates whether the container has an immutability policy set on it.
sourcepub fn x_ms_has_legal_hold(&self) -> Result<bool>
pub fn x_ms_has_legal_hold(&self) -> Result<bool>
Indicates whether the container has a legal hold.
sourcepub fn x_ms_default_encryption_scope(&self) -> Result<&str>
pub fn x_ms_default_encryption_scope(&self) -> Result<&str>
The default encryption scope for the container.
sourcepub fn x_ms_deny_encryption_scope_override(&self) -> Result<bool>
pub fn x_ms_deny_encryption_scope_override(&self) -> Result<bool>
Indicates whether the container’s default encryption scope can be overriden.
sourcepub fn x_ms_immutable_storage_with_versioning_enabled(&self) -> Result<bool>
pub fn x_ms_immutable_storage_with_versioning_enabled(&self) -> Result<bool>
Indicates whether version level worm is enabled on a container.