pub enum OrderTarget {
Column(&'static str),
RelationScalar {
parent_table: &'static str,
parent_column: &'static str,
related_table: &'static str,
related_column: &'static str,
value_sql: String,
},
}Variants§
Column(&'static str)
RelationScalar
Fields
§
value_sql: StringOwned rather than &'static str: the correlated-subquery chain
is folded from the traversed relation path at call time (see
crate::order_value_sql). It used to be baked in per path at
macro-expansion time, which is exactly what made codegen
exponential in relation-graph connectivity (cratestack#252).
Trait Implementations§
Source§impl Clone for OrderTarget
impl Clone for OrderTarget
Source§fn clone(&self) -> OrderTarget
fn clone(&self) -> OrderTarget
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 moreSource§impl Debug for OrderTarget
impl Debug for OrderTarget
impl Eq for OrderTarget
Source§impl PartialEq for OrderTarget
impl PartialEq for OrderTarget
impl StructuralPartialEq for OrderTarget
Auto Trait Implementations§
impl Freeze for OrderTarget
impl RefUnwindSafe for OrderTarget
impl Send for OrderTarget
impl Sync for OrderTarget
impl Unpin for OrderTarget
impl UnsafeUnpin for OrderTarget
impl UnwindSafe for OrderTarget
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