pub struct ResourceTag {
pub key: String,
pub value: Option<String>,
}
Expand description
Tags are key-value pairs that can be associated with Amazon SWF state machines and activities.
Tags may only contain unicode letters, digits, whitespace, or these symbols: _ . : / = + - @
.
Fields§
§key: String
The key of a tag.
value: Option<String>
The value of a tag.
Trait Implementations§
Source§impl Clone for ResourceTag
impl Clone for ResourceTag
Source§fn clone(&self) -> ResourceTag
fn clone(&self) -> ResourceTag
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 ResourceTag
impl Debug for ResourceTag
Source§impl Default for ResourceTag
impl Default for ResourceTag
Source§fn default() -> ResourceTag
fn default() -> ResourceTag
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ResourceTag
impl<'de> Deserialize<'de> for ResourceTag
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 PartialEq for ResourceTag
impl PartialEq for ResourceTag
Source§impl Serialize for ResourceTag
impl Serialize for ResourceTag
impl StructuralPartialEq for ResourceTag
Auto Trait Implementations§
impl Freeze for ResourceTag
impl RefUnwindSafe for ResourceTag
impl Send for ResourceTag
impl Sync for ResourceTag
impl Unpin for ResourceTag
impl UnwindSafe for ResourceTag
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