pub struct ScanOrder {
pub column: &'static str,
pub direction: SortDirection,
}Expand description
单个 Scan 排序键。列名是编译期常量,业务层可安全组合多列确定序。
Fields§
§column: &'static str§direction: SortDirectionImplementations§
Trait Implementations§
impl Copy for ScanOrder
impl Eq for ScanOrder
impl StructuralPartialEq for ScanOrder
Auto Trait Implementations§
impl Freeze for ScanOrder
impl RefUnwindSafe for ScanOrder
impl Send for ScanOrder
impl Sync for ScanOrder
impl Unpin for ScanOrder
impl UnsafeUnpin for ScanOrder
impl UnwindSafe for ScanOrder
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