pub enum InputValue {
Literal(Value),
Ref(String),
Template(String),
}Expand description
An explicit node input value — resolved structurally, never by sniffing
delimiters. Serializes to a single-key object: {literal|ref|template}.
Variants§
Literal(Value)
Used as-is.
Ref(String)
A single addressable path (node.<id>.data.<field>), resolved to its typed value.
Template(String)
String interpolation; always yields a string.
Trait Implementations§
Source§impl Clone for InputValue
impl Clone for InputValue
Source§fn clone(&self) -> InputValue
fn clone(&self) -> InputValue
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 InputValue
impl Debug for InputValue
Source§impl<'de> Deserialize<'de> for InputValue
impl<'de> Deserialize<'de> for InputValue
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 InputValue
impl PartialEq for InputValue
Source§fn eq(&self, other: &InputValue) -> bool
fn eq(&self, other: &InputValue) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for InputValue
impl Serialize for InputValue
impl StructuralPartialEq for InputValue
Auto Trait Implementations§
impl Freeze for InputValue
impl RefUnwindSafe for InputValue
impl Send for InputValue
impl Sync for InputValue
impl Unpin for InputValue
impl UnsafeUnpin for InputValue
impl UnwindSafe for InputValue
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