pub enum AliasRunValue {
Rows(Vec<RowRecord>),
Aggregate(AliasRunResult),
}Expand description
The result of execute_alias_run.
Wraps both the plain Rows path (per-table store.list + field projection)
and the Aggregator path (execute_aggregate). MCP callers serialise each
variant with its natural JSON shape to preserve backward compatibility:
Rows(records)→serde_json::to_string(&records)Aggregate(result)→serde_json::to_string(&result)
Variants§
Rows(Vec<RowRecord>)
Plain rows path — result of store.list + field projection.
Aggregate(AliasRunResult)
Aggregator path — wraps the existing AliasRunResult.
Trait Implementations§
Source§impl Debug for AliasRunValue
impl Debug for AliasRunValue
Auto Trait Implementations§
impl Freeze for AliasRunValue
impl RefUnwindSafe for AliasRunValue
impl Send for AliasRunValue
impl Sync for AliasRunValue
impl Unpin for AliasRunValue
impl UnsafeUnpin for AliasRunValue
impl UnwindSafe for AliasRunValue
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