pub enum SetValue {
Map(HashMap<String, Value>),
Expression(String),
}Expand description
Represents the value that can be set in a Set task - either a map or a runtime expression string
Variants§
Map(HashMap<String, Value>)
A map of key-value pairs to set
Expression(String)
A runtime expression string that evaluates to the data to set
Trait Implementations§
Source§impl<'de> Deserialize<'de> for SetValue
impl<'de> Deserialize<'de> for SetValue
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 SetValue
Auto Trait Implementations§
impl Freeze for SetValue
impl RefUnwindSafe for SetValue
impl Send for SetValue
impl Sync for SetValue
impl Unpin for SetValue
impl UnsafeUnpin for SetValue
impl UnwindSafe for SetValue
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