pub struct TagsPartialState {
pub tag_keys_to_remove: Option<Vec<String>>,
pub tags_to_upsert: Option<HashMap<String, String>>,
}Expand description
There is no detailed description.
This type is not used in any activity, and only used as part of another schema.
Fields§
§tag_keys_to_remove: Option<Vec<String>>Keys of the tags that should be removed for evaluation purposes. IMPORTANT: Currently only numeric references are supported. Once support for namespace references is added, both the tag references (numeric and namespace) will be removed.
Tags that’ll be updated or added to the current state of tags for evaluation purposes. If a key exists in both “tags_to_upsert” and “tag_keys_to_remove”, the one in “tag_keys_to_remove” is ignored. Only one type of tags reference (numeric or namespace) is required to be passed.
Trait Implementations§
Source§impl Clone for TagsPartialState
impl Clone for TagsPartialState
Source§fn clone(&self) -> TagsPartialState
fn clone(&self) -> TagsPartialState
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 TagsPartialState
impl Debug for TagsPartialState
Source§impl Default for TagsPartialState
impl Default for TagsPartialState
Source§fn default() -> TagsPartialState
fn default() -> TagsPartialState
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for TagsPartialState
impl<'de> Deserialize<'de> for TagsPartialState
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 TagsPartialState
impl Serialize for TagsPartialState
impl Part for TagsPartialState
Auto Trait Implementations§
impl Freeze for TagsPartialState
impl RefUnwindSafe for TagsPartialState
impl Send for TagsPartialState
impl Sync for TagsPartialState
impl Unpin for TagsPartialState
impl UnwindSafe for TagsPartialState
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