Struct iceberg_rust_spec::spec::sort::SortField
source · pub struct SortField {
pub source_id: i32,
pub transform: Transform,
pub direction: SortDirection,
pub null_order: NullOrder,
}Expand description
Entry for every column that is to be sorted
Fields§
§source_id: i32A source column id from the table’s schema
transform: TransformA transform that is used to produce values to be sorted on from the source column.
direction: SortDirectionA sort direction, that can only be either asc or desc
null_order: NullOrderA null order that describes the order of null values when sorted.
Trait Implementations§
source§impl<'de> Deserialize<'de> for SortField
impl<'de> Deserialize<'de> for SortField
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl PartialEq for SortField
impl PartialEq for SortField
impl Eq for SortField
impl StructuralEq for SortField
impl StructuralPartialEq for SortField
Auto Trait Implementations§
impl RefUnwindSafe for SortField
impl Send for SortField
impl Sync for SortField
impl Unpin for SortField
impl UnwindSafe for SortField
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
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.