pub struct OrderByBuilder { /* private fields */ }Expand description
Builder for constructing OrderBy with pre-allocated capacity.
Implementations§
Source§impl OrderByBuilder
impl OrderByBuilder
Sourcepub fn with_capacity(capacity: usize) -> Self
pub fn with_capacity(capacity: usize) -> Self
Create a new builder with the specified capacity.
Sourcepub fn push(self, field: OrderByField) -> Self
pub fn push(self, field: OrderByField) -> Self
Add a field to the order by.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for OrderByBuilder
impl RefUnwindSafe for OrderByBuilder
impl Send for OrderByBuilder
impl Sync for OrderByBuilder
impl Unpin for OrderByBuilder
impl UnwindSafe for OrderByBuilder
Blanket Implementations§
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more