pub struct BlobDownloadProperties {Show 36 fields
pub etag: Option<Etag>,
pub last_modified: Option<OffsetDateTime>,
pub created_on: Option<OffsetDateTime>,
pub last_accessed: Option<OffsetDateTime>,
pub content_length: Option<u64>,
pub content_type: Option<String>,
pub cache_control: Option<String>,
pub content_disposition: Option<String>,
pub content_encoding: Option<String>,
pub content_language: Option<String>,
pub content_md5: Option<Vec<u8>>,
pub content_crc64: Option<Vec<u8>>,
pub blob_content_md5: Option<Vec<u8>>,
pub blob_type: Option<BlobType>,
pub blob_sequence_number: Option<i64>,
pub blob_committed_block_count: Option<i32>,
pub is_sealed: Option<bool>,
pub metadata: HashMap<String, String>,
pub version_id: Option<String>,
pub lease_state: Option<LeaseState>,
pub lease_status: Option<LeaseStatus>,
pub lease_duration: Option<LeaseDuration>,
pub legal_hold: Option<bool>,
pub immutability_policy_mode: Option<ImmutabilityPolicyMode>,
pub immutability_policy_expires_on: Option<OffsetDateTime>,
pub copy_completed_on: Option<OffsetDateTime>,
pub copy_id: Option<String>,
pub copy_progress: Option<String>,
pub copy_source: Option<String>,
pub copy_status: Option<CopyStatus>,
pub copy_status_description: Option<String>,
pub object_replication_policy_id: Option<String>,
pub object_replication_rules: HashMap<String, String>,
pub tag_count: Option<i64>,
pub encryption_scope: Option<String>,
pub encryption_key_sha256: Option<String>,
}Expand description
Blob properties parsed from the initial response headers of a BlobClient::download() operation.
Fields§
§etag: Option<Etag>The blob’s ETag (ETag header).
last_modified: Option<OffsetDateTime>Date/time the blob was last modified (Last-Modified header).
created_on: Option<OffsetDateTime>Date/time the blob was created (x-ms-creation-time header).
last_accessed: Option<OffsetDateTime>Date/time the blob was last read or written (x-ms-last-access-time header).
content_length: Option<u64>Number of bytes in the response body (Content-Length header).
For a full-blob download this equals the total blob size. For a ranged or partitioned download, this is the byte count of the initial response.
content_type: Option<String>The content type of the blob (Content-Type header).
cache_control: Option<String>The cache control directive for the blob (Cache-Control header).
content_disposition: Option<String>The content disposition of the blob (Content-Disposition header).
content_encoding: Option<String>The content encoding of the blob (Content-Encoding header).
content_language: Option<String>The content language of the blob (Content-Language header).
content_md5: Option<Vec<u8>>MD5 hash of the response content (Content-MD5 header).
For full-blob reads this covers the entire blob. For ranged reads it covers only the
returned range. To get the MD5 of the full blob content for a ranged read, see
blob_content_md5.
content_crc64: Option<Vec<u8>>CRC-64 hash for the downloaded range (x-ms-content-crc64 header).
Only returned for ranged reads (when range is set)
and only when range_get_content_crc64 is true.
The range must be 4 MiB or smaller, otherwise the service rejects the request.
blob_content_md5: Option<Vec<u8>>MD5 hash of the full blob content (x-ms-blob-content-md5 header).
Only returned for ranged reads. This is the hash of the complete blob, not just the requested range.
blob_type: Option<BlobType>The type of blob (x-ms-blob-type header): BlockBlob, PageBlob, or AppendBlob.
blob_sequence_number: Option<i64>Current sequence number for a page blob (x-ms-blob-sequence-number header).
blob_committed_block_count: Option<i32>Number of committed blocks, returned only for append blobs
(x-ms-blob-committed-block-count header).
is_sealed: Option<bool>Whether this append blob has been sealed (x-ms-blob-sealed header).
metadata: HashMap<String, String>User-defined metadata on the blob (all x-ms-meta-* headers).
version_id: Option<String>Version ID of the blob, if versioning is enabled (x-ms-version-id header).
lease_state: Option<LeaseState>State of the blob’s lease (x-ms-lease-state header).
lease_status: Option<LeaseStatus>Status of the blob’s lease (x-ms-lease-status header).
lease_duration: Option<LeaseDuration>Duration type of the lease (x-ms-lease-duration header).
legal_hold: Option<bool>Whether the blob has a legal hold (x-ms-legal-hold header).
immutability_policy_mode: Option<ImmutabilityPolicyMode>The immutability policy mode (x-ms-immutability-policy-mode header).
immutability_policy_expires_on: Option<OffsetDateTime>The immutability policy expiry time (x-ms-immutability-policy-until-date header).
copy_completed_on: Option<OffsetDateTime>Completion time of the last copy operation (x-ms-copy-completion-time header).
copy_id: Option<String>String identifier for the last copy operation (x-ms-copy-id header).
copy_progress: Option<String>Progress of an in-progress copy operation (x-ms-copy-progress header).
copy_source: Option<String>URL of the source blob for the last copy operation (x-ms-copy-source header).
copy_status: Option<CopyStatus>State of the copy operation (x-ms-copy-status header).
copy_status_description: Option<String>Description of a failed or aborted copy operation (x-ms-copy-status-description header).
object_replication_policy_id: Option<String>Destination policy ID for object replication (x-ms-or-policy-id header).
object_replication_rules: HashMap<String, String>Object replication rules and their statuses (all x-ms-or-* headers).
tag_count: Option<i64>Number of tags on the blob (x-ms-tag-count header).
encryption_scope: Option<String>The name of the encryption scope used to encrypt the blob (x-ms-encryption-scope header).
encryption_key_sha256: Option<String>Base64-encoded SHA-256 hash of the customer-provided encryption key
used to encrypt the blob (x-ms-encryption-key-sha256 header).