pub struct MapMapping {
pub path: String,
pub logic: Value,
/* private fields */
}Expand description
A single mapping that transforms and assigns data.
Fields§
§path: StringTarget path where the result will be stored (e.g., “data.user.name”).
Supports dot notation for nested paths and # prefix for numeric field names.
logic: ValueJSONLogic expression (kept as serde_json::Value since this is the
shape the compiler accepts; not runtime data).
Trait Implementations§
Source§impl Clone for MapMapping
impl Clone for MapMapping
Source§fn clone(&self) -> MapMapping
fn clone(&self) -> MapMapping
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 MapMapping
impl Debug for MapMapping
Source§impl Default for MapMapping
impl Default for MapMapping
Source§fn default() -> MapMapping
fn default() -> MapMapping
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for MapMapping
impl<'de> Deserialize<'de> for MapMapping
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
Auto Trait Implementations§
impl Freeze for MapMapping
impl RefUnwindSafe for MapMapping
impl Send for MapMapping
impl Sync for MapMapping
impl Unpin for MapMapping
impl UnsafeUnpin for MapMapping
impl UnwindSafe for MapMapping
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