Struct azure_storage_blobs::prelude::Tags
source · pub struct Tags {
pub tag_set: TagSet,
}Expand description
User-defined tags for specified blobs made up of one or more key-value pairs.
The following limits apply to blob index tags:
- Each blob can have up to 10 tags
- Tag keys must be between one and 128 characters
- Tag values must be between zero and 256 characters
- Tag keys and values are case-sensitive
- Tag keys and values only support string data types. Any numbers, dates, times, or special characters are saved as strings
- Tag keys and values must adhere to the following naming rules:
- Alphanumeric characters:
- a through z (lowercase letters)
- A through Z (uppercase letters)
- 0 through 9 (numbers)
- Valid special characters: space, plus, minus, period, colon, equals, underscore, forward slash ( +-.:=_/)
- Alphanumeric characters:
ref: https://docs.microsoft.com/en-us/azure/storage/blobs/storage-manage-find-blobs
Fields§
§tag_set: TagSetImplementations§
Trait Implementations§
source§impl<'de> Deserialize<'de> for Tags
impl<'de> Deserialize<'de> for Tags
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl<K, V> Extend<(K, V)> for Tags
impl<K, V> Extend<(K, V)> for Tags
source§fn extend<T>(&mut self, iter: T)where
T: IntoIterator<Item = (K, V)>,
fn extend<T>(&mut self, iter: T)where
T: IntoIterator<Item = (K, V)>,
Extends a collection with the contents of an iterator. Read more
source§fn extend_one(&mut self, item: A)
fn extend_one(&mut self, item: A)
🔬This is a nightly-only experimental API. (
extend_one)Extends a collection with exactly one element.
source§fn extend_reserve(&mut self, additional: usize)
fn extend_reserve(&mut self, additional: usize)
🔬This is a nightly-only experimental API. (
extend_one)Reserves capacity in a collection for the given number of additional elements. Read more
source§impl IntoIterator for Tags
impl IntoIterator for Tags
source§impl PartialEq for Tags
impl PartialEq for Tags
impl Eq for Tags
impl StructuralEq for Tags
impl StructuralPartialEq for Tags
Auto Trait Implementations§
impl RefUnwindSafe for Tags
impl Send for Tags
impl Sync for Tags
impl Unpin for Tags
impl UnwindSafe for Tags
Blanket Implementations§
source§impl<T> AsHeaders for Twhere
T: Header,
impl<T> AsHeaders for Twhere
T: Header,
type Iter = IntoIter<(HeaderName, HeaderValue)>
fn as_headers(&self) -> <T as AsHeaders>::Iter
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.