azure_storage_blobs/options/
delete_snapshot_method.rs

1
2
3
4
5
6
7
8
9
10
11
12
13
use azure_core::headers::{self, Header};

create_enum!(DeleteSnapshotsMethod, (Include, "include"), (Only, "only"));

impl Header for DeleteSnapshotsMethod {
    fn name(&self) -> headers::HeaderName {
        azure_core::headers::DELETE_SNAPSHOTS
    }

    fn value(&self) -> headers::HeaderValue {
        self.to_string().into()
    }
}