pub struct ColumnOrigin {
pub column: Ident,
pub member: Member,
}Expand description
The payload of Origin::Column: which column, and which member of its family.
One member of one column’s family, under the name that column carries IN THE OWNING TYPE: a scoped rename moves the method with the column it renames.
Named for the origin rather than sharing the variant’s name, because Column is the model’s
own type and this module reads it. Fields are pub and constructed by literal, which is what
every model struct this crate carries does — Emitted below is the nearest one.
Fields§
§column: IdentThe column, as its own type names it.
member: MemberWhich of the family this is.
Trait Implementations§
Source§impl Clone for ColumnOrigin
impl Clone for ColumnOrigin
Source§impl Debug for ColumnOrigin
impl Debug for ColumnOrigin
impl Eq for ColumnOrigin
Source§impl PartialEq for ColumnOrigin
impl PartialEq for ColumnOrigin
impl StructuralPartialEq for ColumnOrigin
Auto Trait Implementations§
impl !Send for ColumnOrigin
impl !Sync for ColumnOrigin
impl Freeze for ColumnOrigin
impl RefUnwindSafe for ColumnOrigin
impl Unpin for ColumnOrigin
impl UnsafeUnpin for ColumnOrigin
impl UnwindSafe for ColumnOrigin
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