pub struct OrderField {
pub field: String,
pub variant: Ident,
pub published: bool,
pub gate: TokenStream,
}Expand description
One column, as the ORDER-BY’s face reads it.
Fields§
§field: StringThe name a CLIENT writes this column under — the FILTER’s own name for it.
variant: IdentThe enum VARIANT that term parses into.
published: boolWhether the SCHEMA names this term at all — false where graphql(skip) withheld the column.
The Rust enum has a variant either way: the order-by type generates FULL, so a Rust caller
orders by every stored column. What this decides is the FACE — see
order_by_face, where a withheld term is registered nowhere and parsed by nothing.
gate: TokenStreamThe CONDITION the column is declared under — see
Condition. Empty for a column that wrote none, and for every unit
whose front end has no condition seat.
Auto Trait Implementations§
impl !Send for OrderField
impl !Sync for OrderField
impl Freeze for OrderField
impl RefUnwindSafe for OrderField
impl Unpin for OrderField
impl UnsafeUnpin for OrderField
impl UnwindSafe for OrderField
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