Struct iceberg_rust::spec::view_metadata::Version
source · pub struct Version {
pub version_id: i64,
pub schema_id: i32,
pub timestamp_ms: i64,
pub summary: Summary,
pub representations: Vec<ViewRepresentation>,
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: i64
Monotonically increasing id indicating the version of the view. Starts with 1.
schema_id: i32
ID of the schema for the view version
timestamp_ms: i64
Timestamp expressed in ms since epoch at which the version of the view was created.
summary: Summary
A string map summarizes the version changes, including operation, described in Summary.
representations: Vec<ViewRepresentation>
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> Deserialize<'de> for Version
impl<'de> Deserialize<'de> for Version
source§fn deserialize<__D>(
__deserializer: __D
) -> Result<Version, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D
) -> Result<Version, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl PartialEq for Version
impl PartialEq for Version
source§impl Serialize for Version
impl Serialize for Version
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 Version
impl StructuralPartialEq for Version
Auto Trait Implementations§
impl Freeze for Version
impl RefUnwindSafe for Version
impl Send for Version
impl Sync for Version
impl Unpin for Version
impl UnwindSafe for Version
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.