Skip to content

Storage BlobMetadata type doesn't appear to actually contain metadata. #2840

@LarryOsterman

Description

@LarryOsterman

Bug Title

BlobMetadata doesn't seem to include metadata.

Crate Name

azure_storage_blob

Crate Version

0.4.0

Description

The BlobMetadata definition looks like:

/// The blob metadata.
#[derive(Clone, Default, Deserialize, SafeDebug, Serialize)]
#[non_exhaustive]
pub struct BlobMetadata {
/// Whether the blob metadata is encrypted.
#[serde(rename = "@Encrypted", skip_serializing_if = "Option::is_none")]
pub encrypted: Option,
}

But I don't see a HashMap which would actually contain the metadata associated with the blob.

Am I holding it wrong?

Steps to Reproduce

Attempt to write code that refreences the metadata in a blob.

Checklist

Metadata

Metadata

Assignees

Labels

StorageStorage Service (Queues, Blobs, Files)blocking-releaseBlocks release

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions