Struct iceberg_rust::spec::sort::SortOrderBuilder
source · pub struct SortOrderBuilder { /* private fields */ }
Expand description
Builder for SortOrder
.
Implementations§
source§impl SortOrderBuilder
impl SortOrderBuilder
sourcepub fn with_order_id(&mut self, value: i32) -> &mut SortOrderBuilder
pub fn with_order_id(&mut self, value: i32) -> &mut SortOrderBuilder
Identifier for SortOrder, order_id 0
is no sort order.
sourcepub fn with_fields(&mut self, value: Vec<SortField>) -> &mut SortOrderBuilder
pub fn with_fields(&mut self, value: Vec<SortField>) -> &mut SortOrderBuilder
Details of the sort
sourcepub fn with_sort_field<VALUE>(&mut self, item: VALUE) -> &mut SortOrderBuilder
pub fn with_sort_field<VALUE>(&mut self, item: VALUE) -> &mut SortOrderBuilder
Details of the sort
Trait Implementations§
source§impl Clone for SortOrderBuilder
impl Clone for SortOrderBuilder
source§fn clone(&self) -> SortOrderBuilder
fn clone(&self) -> SortOrderBuilder
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Default for SortOrderBuilder
impl Default for SortOrderBuilder
source§fn default() -> SortOrderBuilder
fn default() -> SortOrderBuilder
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for SortOrderBuilder
impl RefUnwindSafe for SortOrderBuilder
impl Send for SortOrderBuilder
impl Sync for SortOrderBuilder
impl Unpin for SortOrderBuilder
impl UnwindSafe for SortOrderBuilder
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