pub struct RoutingInput {
pub statement_kind: StatementKind,
pub table_references: Vec<TableReference>,
pub diagnostics: Vec<PlanningDiagnostic>,
}Expand description
SQL-owned input for routing decision composition.
Fields§
§statement_kind: StatementKindOriginal statement kind. Consumers should match on variants rather than reparsing SQL.
table_references: Vec<TableReference>Conservative table references extracted from the planned statement.
diagnostics: Vec<PlanningDiagnostic>Diagnostics produced while preparing routing input.
Trait Implementations§
Source§impl Clone for RoutingInput
impl Clone for RoutingInput
Source§fn clone(&self) -> RoutingInput
fn clone(&self) -> RoutingInput
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 moreAuto Trait Implementations§
impl Freeze for RoutingInput
impl RefUnwindSafe for RoutingInput
impl Send for RoutingInput
impl Sync for RoutingInput
impl Unpin for RoutingInput
impl UnsafeUnpin for RoutingInput
impl UnwindSafe for RoutingInput
Blanket Implementations§
impl<T> Allocation for T
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