pub struct ScalarLinkField {
pub name: String,
pub outer_alias: String,
pub links: Vec<String>,
pub column: String,
pub resolved: Option<ScalarLinkResolved>,
}Expand description
A scalar link traversal projection field. Like via_link on
NestedProjection, the planner cannot resolve link names (it never
touches the catalog), so resolved is None out of the planner and is
filled in by the executor before assembly.
Fields§
§name: StringOutput column name (the field alias, or the dotted source spelling).
outer_alias: StringThe outer scan alias the path starts from (o).
links: Vec<String>Declared to-one link names in traversal order (["user", "company"]).
column: StringThe column read on the final target (name).
resolved: Option<ScalarLinkResolved>Filled by the executor’s catalog resolution; None out of the planner.
Trait Implementations§
Source§impl Clone for ScalarLinkField
impl Clone for ScalarLinkField
Source§fn clone(&self) -> ScalarLinkField
fn clone(&self) -> ScalarLinkField
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 moreAuto Trait Implementations§
impl Freeze for ScalarLinkField
impl RefUnwindSafe for ScalarLinkField
impl Send for ScalarLinkField
impl Sync for ScalarLinkField
impl Unpin for ScalarLinkField
impl UnsafeUnpin for ScalarLinkField
impl UnwindSafe for ScalarLinkField
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