Struct iceberg_rust::model::partition::PartitionSpec
source · pub struct PartitionSpec {
pub spec_id: i32,
pub fields: Vec<PartitionField>,
}
Expand description
Partition spec that defines how to produce a tuple of partition values from a record.
Fields§
§spec_id: i32
Identifier for PartitionSpec
fields: Vec<PartitionField>
Details of the partition spec
Trait Implementations§
source§impl Debug for PartitionSpec
impl Debug for PartitionSpec
source§impl<'de> Deserialize<'de> for PartitionSpec
impl<'de> Deserialize<'de> for PartitionSpec
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<PartitionSpec> for PartitionSpec
impl PartialEq<PartitionSpec> for PartitionSpec
source§fn eq(&self, other: &PartitionSpec) -> bool
fn eq(&self, other: &PartitionSpec) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for PartitionSpec
impl Serialize for PartitionSpec
impl Eq for PartitionSpec
impl StructuralEq for PartitionSpec
impl StructuralPartialEq for PartitionSpec
Auto Trait Implementations§
impl RefUnwindSafe for PartitionSpec
impl Send for PartitionSpec
impl Sync for PartitionSpec
impl Unpin for PartitionSpec
impl UnwindSafe for PartitionSpec
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.