Struct iceberg_rust::model::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: i32
A source column id from the table’s schema
transform: Transform
A transform that is used to produce values to be sorted on from the source column.
direction: SortDirection
A sort direction, that can only be either asc or desc
null_order: NullOrder
A 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<SortField> for SortField
impl PartialEq<SortField> 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§
§impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
source§impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.