Struct iceberg_rust::spec::sort::SortOrder
source · pub struct SortOrder {
pub order_id: i32,
pub fields: Vec<SortField>,
}
Expand description
A sort order is defined by a sort order id and a list of sort fields. The order of the sort fields within the list defines the order in which the sort is applied to the data.
Fields§
§order_id: i32
Identifier for SortOrder, order_id 0
is no sort order.
fields: Vec<SortField>
Details of the sort
Trait Implementations§
source§impl<'de> Deserialize<'de> for SortOrder
impl<'de> Deserialize<'de> for SortOrder
source§fn deserialize<__D>(
__deserializer: __D
) -> Result<SortOrder, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D
) -> Result<SortOrder, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl PartialEq for SortOrder
impl PartialEq for SortOrder
source§impl Serialize for SortOrder
impl Serialize for SortOrder
source§fn serialize<__S>(
&self,
__serializer: __S
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
impl Eq for SortOrder
impl StructuralPartialEq for SortOrder
Auto Trait Implementations§
impl Freeze for SortOrder
impl RefUnwindSafe for SortOrder
impl Send for SortOrder
impl Sync for SortOrder
impl Unpin for SortOrder
impl UnwindSafe for SortOrder
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
source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.