Enum iceberg_rust::model::table_metadata::FormatVersion
source · #[repr(u8)]
pub enum FormatVersion {
V1,
V2,
}
Expand description
Iceberg format version
Variants§
Trait Implementations§
source§impl Clone for FormatVersion
impl Clone for FormatVersion
source§fn clone(&self) -> FormatVersion
fn clone(&self) -> FormatVersion
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 Debug for FormatVersion
impl Debug for FormatVersion
source§impl<'de> Deserialize<'de> for FormatVersion
impl<'de> Deserialize<'de> for FormatVersion
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 From<FormatVersion> for u8
impl From<FormatVersion> for u8
source§fn from(value: FormatVersion) -> Self
fn from(value: FormatVersion) -> Self
Converts to this type from the input type.
source§impl PartialEq<FormatVersion> for FormatVersion
impl PartialEq<FormatVersion> for FormatVersion
source§fn eq(&self, other: &FormatVersion) -> bool
fn eq(&self, other: &FormatVersion) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for FormatVersion
impl Serialize for FormatVersion
source§impl TryFrom<u8> for FormatVersion
impl TryFrom<u8> for FormatVersion
impl Eq for FormatVersion
impl StructuralEq for FormatVersion
impl StructuralPartialEq for FormatVersion
Auto Trait Implementations§
impl RefUnwindSafe for FormatVersion
impl Send for FormatVersion
impl Sync for FormatVersion
impl Unpin for FormatVersion
impl UnwindSafe for FormatVersion
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.