pub struct OrderCatalog {
pub scalars: &'static [(&'static str, &'static str)],
pub relations: &'static [OrderRelationEdge],
}Expand description
One model’s order-by surface: its own sortable scalar columns
((api_name, sql_column)) and its own to-one relation edges. Exactly
one OrderCatalog is emitted per model, regardless of how many
distinct relation paths pass through it.
Fields§
§scalars: &'static [(&'static str, &'static str)]§relations: &'static [OrderRelationEdge]Auto Trait Implementations§
impl Freeze for OrderCatalog
impl RefUnwindSafe for OrderCatalog
impl Send for OrderCatalog
impl Sync for OrderCatalog
impl Unpin for OrderCatalog
impl UnsafeUnpin for OrderCatalog
impl UnwindSafe for OrderCatalog
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