pub struct RelationPosition {
pub field: String,
pub member: Ident,
pub held: TokenStream,
}Expand description
One REVERSE relation position, as the FILTER’s face reads it.
Its three legs differ from a column’s by ONE fact and it is the BOX: the struct member is
Option<Box<RelatedFilter<…>>> because a position naming this record’s own kind would make the
struct contain itself, and Box has no InputType row — so the schema entry, the parse and the
render all name the UNBOXED type and the box is put on and taken off here. That is the same
division the __ prefix pin states one layer up: a Rust fact does not reach a client.
Fields§
§field: StringThe name a CLIENT writes this position under.
member: IdentThe struct MEMBER the parsed value lands in.
held: TokenStreamThe UNBOXED filter this position holds — RelatedFilter<…> over the far side’s own filter.
Auto Trait Implementations§
impl !Send for RelationPosition
impl !Sync for RelationPosition
impl Freeze for RelationPosition
impl RefUnwindSafe for RelationPosition
impl Unpin for RelationPosition
impl UnsafeUnpin for RelationPosition
impl UnwindSafe for RelationPosition
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