Struct iceberg_rust_spec::spec::view_metadata::Version
source · pub struct Version<T> {
pub version_id: i64,
pub schema_id: i32,
pub timestamp_ms: i64,
pub summary: Summary,
pub representations: Vec<T>,
pub default_catalog: Option<String>,
pub default_namespace: Option<Vec<String>>,
}Expand description
Fields for the version 2 of the view metadata.
Fields§
§version_id: i64Monotonically increasing id indicating the version of the view. Starts with 1.
schema_id: i32ID of the schema for the view version
timestamp_ms: i64Timestamp expressed in ms since epoch at which the version of the view was created.
summary: SummaryA string map summarizes the version changes, including operation, described in Summary.
representations: Vec<T>A list of “representations” as described in Representations.
default_catalog: Option<String>A string specifying the catalog to use when the table or view references in the view definition do not contain an explicit catalog.
default_namespace: Option<Vec<String>>The namespace to use when the table or view references in the view definition do not contain an explicit namespace. Since the namespace may contain multiple parts, it is serialized as a list of strings.
Trait Implementations§
source§impl<'de, T> Deserialize<'de> for Version<T>where
T: Deserialize<'de>,
impl<'de, T> Deserialize<'de> for Version<T>where
T: Deserialize<'de>,
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<T: PartialEq> PartialEq for Version<T>
impl<T: PartialEq> PartialEq for Version<T>
impl<T: Eq> Eq for Version<T>
impl<T> StructuralEq for Version<T>
impl<T> StructuralPartialEq for Version<T>
Auto Trait Implementations§
impl<T> RefUnwindSafe for Version<T>where
T: RefUnwindSafe,
impl<T> Send for Version<T>where
T: Send,
impl<T> Sync for Version<T>where
T: Sync,
impl<T> Unpin for Version<T>where
T: Unpin,
impl<T> UnwindSafe for Version<T>where
T: UnwindSafe,
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.