pub struct ComputedField {
pub alias: String,
pub expression: String,
}Expand description
A computed field expression with alias.
Fields§
§alias: StringThe alias for the computed field.
expression: StringThe SQL expression (e.g., “first_name || ’ ’ || last_name”).
Implementations§
Trait Implementations§
Source§impl Clone for ComputedField
impl Clone for ComputedField
Source§fn clone(&self) -> ComputedField
fn clone(&self) -> ComputedField
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 moreAuto Trait Implementations§
impl Freeze for ComputedField
impl RefUnwindSafe for ComputedField
impl Send for ComputedField
impl Sync for ComputedField
impl Unpin for ComputedField
impl UnwindSafe for ComputedField
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