pub enum BindingsDef {
Map(HashMap<String, String>),
PolydatSource(String),
}Expand description
How bindings are defined for an op.
Two modes:
- Map: Legacy nosqlbench-style
name: "FuncA(); FuncB()"chains. Each binding is independent; inheritance merges at key level. - PolydatSource: Native Polydat grammar as a multiline string. The entire binding block is a single Polydat program with coordinates, named outputs, and full DAG wiring. Replaces (not merges with) any inherited bindings.
Variants§
Map(HashMap<String, String>)
Legacy nosqlbench-style: name → expression chain.
PolydatSource(String)
Native Polydat grammar source text.
Implementations§
Trait Implementations§
Source§impl Clone for BindingsDef
impl Clone for BindingsDef
Source§impl Debug for BindingsDef
impl Debug for BindingsDef
Source§impl Default for BindingsDef
impl Default for BindingsDef
Source§impl<'de> Deserialize<'de> for BindingsDef
impl<'de> Deserialize<'de> for BindingsDef
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 BindingsDef
impl RefUnwindSafe for BindingsDef
impl Send for BindingsDef
impl Sync for BindingsDef
impl Unpin for BindingsDef
impl UnsafeUnpin for BindingsDef
impl UnwindSafe for BindingsDef
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