pub struct PlannerDescriptor {
pub kind: &'static str,
pub aliases: &'static [&'static str],
pub summary: &'static str,
pub arguments: &'static [ArgumentSpec],
pub writes: ColumnScope,
pub reads: ColumnScope,
pub determinism: Determinism,
pub buffering: Buffering,
pub verification: Verification,
pub cross_table: bool,
}Expand description
Static description of a registered planner. Planners operate at table
scope rather than on a single column’s type, so there is no accepts
family list; writes/reads describe the columns the planner coordinates.
Fields§
§kind: &'static strCanonical registry name, e.g. "relation.children".
aliases: &'static [&'static str]Alternate names that resolve to this planner.
summary: &'static strOne-line human summary.
arguments: &'static [ArgumentSpec]The config arguments this planner understands.
writes: ColumnScopeWhich columns the planner produces (named in its config).
reads: ColumnScopeWhich columns the planner reads (named in its config).
determinism: DeterminismWhether the plan is reproducible from the seed.
buffering: BufferingWhether the planner can stream or must buffer.
verification: VerificationWhether the planner can verify its own output.
cross_table: boolWhether the planner coordinates columns across a table boundary (it
produces or references another table’s rows). The compiler drives its
cross-table pre-pass (child-fact injection, external column ownership,
parent-key fact injection, and family phase building) off this capability
rather than off any specific planner kind. Same-table planners
(interval/progress/timestamps/soft_delete/lifecycle) set this false;
commerce.order_family and the relationship/tenant/polymorphic planners
set it true.
Trait Implementations§
Source§impl Clone for PlannerDescriptor
impl Clone for PlannerDescriptor
Source§fn clone(&self) -> PlannerDescriptor
fn clone(&self) -> PlannerDescriptor
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for PlannerDescriptor
impl Debug for PlannerDescriptor
impl Eq for PlannerDescriptor
Source§impl PartialEq for PlannerDescriptor
impl PartialEq for PlannerDescriptor
impl StructuralPartialEq for PlannerDescriptor
Auto Trait Implementations§
impl Freeze for PlannerDescriptor
impl RefUnwindSafe for PlannerDescriptor
impl Send for PlannerDescriptor
impl Sync for PlannerDescriptor
impl Unpin for PlannerDescriptor
impl UnsafeUnpin for PlannerDescriptor
impl UnwindSafe for PlannerDescriptor
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
key and return true if they are equal.Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more