pub struct Mirror {
pub column: Ident,
pub from: Ident,
}Expand description
One lineage column, and the field of the parent’s key it equals.
Fields§
§column: IdentThe column as the LINEAGE type names it — after lineage(rename = "…"), since that is the
name the emitted struct literal writes.
from: IdentThe parent key’s field it is read from.
The record field’s own name where the two agree, and otherwise the ident parsed out of
<field>(source = "…") — respanned to the string literal, so every error the equation reports
about a mapping lands where the author wrote it.
Trait Implementations§
Auto Trait Implementations§
impl !Send for Mirror
impl !Sync for Mirror
impl Freeze for Mirror
impl RefUnwindSafe for Mirror
impl Unpin for Mirror
impl UnsafeUnpin for Mirror
impl UnwindSafe for Mirror
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