pub struct GooglePrivacyDlpV2Tag {
pub key: Option<String>,
pub namespaced_tag_value: Option<String>,
pub value: Option<String>,
}Expand description
A tag associated with a resource.
This type is not used in any activity, and only used as part of another schema.
Fields§
§key: Option<String>The key of a tag key-value pair. For Google Cloud resources, this is the resource name of the key, for example, “tagKeys/123456”.
namespaced_tag_value: Option<String>The namespaced name for the tag value to attach to Google Cloud resources. Must be in the format {parent_id}/{tag_key_short_name}/{short_name}, for example, “123456/environment/prod” for an organization parent, or “my-project/environment/prod” for a project parent. This is only set for Google Cloud resources.
value: Option<String>The value of a tag key-value pair. For Google Cloud resources, this is the resource name of the value, for example, “tagValues/123456”.
Trait Implementations§
Source§impl Clone for GooglePrivacyDlpV2Tag
impl Clone for GooglePrivacyDlpV2Tag
Source§fn clone(&self) -> GooglePrivacyDlpV2Tag
fn clone(&self) -> GooglePrivacyDlpV2Tag
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for GooglePrivacyDlpV2Tag
impl Debug for GooglePrivacyDlpV2Tag
Source§impl Default for GooglePrivacyDlpV2Tag
impl Default for GooglePrivacyDlpV2Tag
Source§fn default() -> GooglePrivacyDlpV2Tag
fn default() -> GooglePrivacyDlpV2Tag
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for GooglePrivacyDlpV2Tag
impl<'de> Deserialize<'de> for GooglePrivacyDlpV2Tag
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 Serialize for GooglePrivacyDlpV2Tag
impl Serialize for GooglePrivacyDlpV2Tag
impl Part for GooglePrivacyDlpV2Tag
Auto Trait Implementations§
impl Freeze for GooglePrivacyDlpV2Tag
impl RefUnwindSafe for GooglePrivacyDlpV2Tag
impl Send for GooglePrivacyDlpV2Tag
impl Sync for GooglePrivacyDlpV2Tag
impl Unpin for GooglePrivacyDlpV2Tag
impl UnwindSafe for GooglePrivacyDlpV2Tag
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