pub struct PlannedColumn {
pub schema: PortableColumn,
pub owner: ColumnOwner,
pub modifiers: Vec<Box<dyn CompiledModifier>>,
}Expand description
A schema column paired with the operator that owns its values and the compiled modifier pipeline applied after generation.
Cannot derive Debug/Clone/PartialEq: a ColumnOwner::Generator
holds a Box<dyn CompiledGenerator> and modifiers holds
Box<dyn CompiledModifier> trait objects. The hand-written fmt::Debug
describes the modifier pipeline by count.
Fields§
§schema: PortableColumnThe column’s portable schema.
owner: ColumnOwnerWhat produces this column’s values.
modifiers: Vec<Box<dyn CompiledModifier>>The compiled modifier pipeline, in declared order, applied to the value
after the owner produces it. Only populated for generator-owned columns;
empty otherwise (see ModelCompiler::compile_modifiers).
Trait Implementations§
Auto Trait Implementations§
impl !RefUnwindSafe for PlannedColumn
impl !Sync for PlannedColumn
impl !UnwindSafe for PlannedColumn
impl Freeze for PlannedColumn
impl Send for PlannedColumn
impl Unpin for PlannedColumn
impl UnsafeUnpin for PlannedColumn
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
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>
Converts
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>
Converts
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