pub struct TextProjectionExpr { /* private fields */ }Expand description
TextProjectionExpr
Shared bounded text-function projection over one source field.
This stays intentionally narrow even though it now lowers through the same
canonical Expr surface used by SQL projection planning.
Implementations§
Source§impl TextProjectionExpr
impl TextProjectionExpr
Sourcepub fn sql_label(&self) -> String
pub fn sql_label(&self) -> String
Render the stable SQL-style output label for this projection.
Sourcepub fn apply_value(&self, value: Value) -> Result<Value, QueryError>
pub fn apply_value(&self, value: Value) -> Result<Value, QueryError>
Apply this projection to one already-loaded scalar field value.
Trait Implementations§
Source§impl Clone for TextProjectionExpr
impl Clone for TextProjectionExpr
Source§fn clone(&self) -> TextProjectionExpr
fn clone(&self) -> TextProjectionExpr
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for TextProjectionExpr
impl Debug for TextProjectionExpr
Source§impl PartialEq for TextProjectionExpr
impl PartialEq for TextProjectionExpr
impl Eq for TextProjectionExpr
impl StructuralPartialEq for TextProjectionExpr
Auto Trait Implementations§
impl Freeze for TextProjectionExpr
impl RefUnwindSafe for TextProjectionExpr
impl Send for TextProjectionExpr
impl Sync for TextProjectionExpr
impl Unpin for TextProjectionExpr
impl UnsafeUnpin for TextProjectionExpr
impl UnwindSafe for TextProjectionExpr
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