pub struct Tag {
pub tag_key: Option<String>,
pub tag_key_id: Option<String>,
pub tag_value: Option<String>,
pub tag_value_id: Option<String>,
}Expand description
The key and value for a tag.
This type is not used in any activity, and only used as part of another schema.
Fields§
§tag_key: Option<String>TagKey namespaced name, in the format of {ORG_ID}/{TAG_KEY_SHORT_NAME}.
tag_key_id: Option<String>TagKey ID, in the format of tagKeys/{TAG_KEY_ID}.
tag_value: Option<String>TagValue namespaced name, in the format of {ORG_ID}/{TAG_KEY_SHORT_NAME}/{TAG_VALUE_SHORT_NAME}.
tag_value_id: Option<String>TagValue ID, in the format of tagValues/{TAG_VALUE_ID}.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Tag
impl<'de> Deserialize<'de> for Tag
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 Part for Tag
Auto Trait Implementations§
impl Freeze for Tag
impl RefUnwindSafe for Tag
impl Send for Tag
impl Sync for Tag
impl Unpin for Tag
impl UnwindSafe for Tag
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