pub struct TagRef {
pub key: String,
pub value: Option<String>,
}
Expand description
Optional metadata that you apply to a resource to assist with categorization and organization. Each tag consists of a key and an optional value, both of which you define. Tag keys can have a maximum character length of 128 characters, and tag values can have a maximum length of 256 characters.
Fields§
§key: String
One part of a key-value pair that make up a tag. A key
is a general label
that acts like a category for more specific tag values.
value: Option<String>
The optional part of a key-value pair that make up a tag. A value
acts as a
descriptor within a tag category (key).
Trait Implementations§
Source§impl<'de> Deserialize<'de> for TagRef
impl<'de> Deserialize<'de> for TagRef
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
impl StructuralPartialEq for TagRef
Auto Trait Implementations§
impl Freeze for TagRef
impl RefUnwindSafe for TagRef
impl Send for TagRef
impl Sync for TagRef
impl Unpin for TagRef
impl UnwindSafe for TagRef
Blanket Implementations§
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