pub struct MemberColumn {
pub variant: Ident,
pub column: Ident,
}Expand description
What ONE member calls one field of the contract.
Fields§
§variant: IdentThe member’s VARIANT, exactly as the enum spells it.
The variant rather than the payload type, because the variant is what the declaration wrote and what a refusal about it names. The hop from one to the other is a LOOKUP rather than a guess: both come out of the same derive input.
column: IdentThe column this member carries the field under — in its own struct, and in its own row.
Trait Implementations§
Source§impl Clone for MemberColumn
impl Clone for MemberColumn
Auto Trait Implementations§
impl !Send for MemberColumn
impl !Sync for MemberColumn
impl Freeze for MemberColumn
impl RefUnwindSafe for MemberColumn
impl Unpin for MemberColumn
impl UnsafeUnpin for MemberColumn
impl UnwindSafe for MemberColumn
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