Struct iceberg_rust_spec::spec::manifest::ManifestEntry
source · pub struct ManifestEntry {
pub format_version: FormatVersion,
pub status: Status,
pub snapshot_id: Option<i64>,
pub sequence_number: Option<i64>,
pub data_file: DataFile,
}Expand description
Entry in manifest with the iceberg spec version 2.
Fields§
§format_version: FormatVersionTable format version
status: StatusUsed to track additions and deletions
snapshot_id: Option<i64>Snapshot id where the file was added, or deleted if status is 2. Inherited when null.
sequence_number: Option<i64>Sequence number when the file was added. Inherited when null.
data_file: DataFileFile path, partition tuple, metrics, …
Implementations§
source§impl ManifestEntry
impl ManifestEntry
sourcepub fn schema(
partition_schema: &str,
format_version: &FormatVersion
) -> Result<AvroSchema, Error>
pub fn schema( partition_schema: &str, format_version: &FormatVersion ) -> Result<AvroSchema, Error>
Get schema of manifest entry.
Trait Implementations§
source§impl Clone for ManifestEntry
impl Clone for ManifestEntry
source§fn clone(&self) -> ManifestEntry
fn clone(&self) -> ManifestEntry
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 ManifestEntry
impl Debug for ManifestEntry
source§impl From<ManifestEntry> for ManifestEntryEnum
impl From<ManifestEntry> for ManifestEntryEnum
source§fn from(value: ManifestEntry) -> Self
fn from(value: ManifestEntry) -> Self
Converts to this type from the input type.
source§impl From<ManifestEntry> for ManifestEntryV1
impl From<ManifestEntry> for ManifestEntryV1
source§fn from(v1: ManifestEntry) -> Self
fn from(v1: ManifestEntry) -> Self
Converts to this type from the input type.
source§impl From<ManifestEntry> for ManifestEntryV2
impl From<ManifestEntry> for ManifestEntryV2
source§fn from(value: ManifestEntry) -> Self
fn from(value: ManifestEntry) -> Self
Converts to this type from the input type.
source§impl PartialEq for ManifestEntry
impl PartialEq for ManifestEntry
source§fn eq(&self, other: &ManifestEntry) -> bool
fn eq(&self, other: &ManifestEntry) -> bool
This method tests for
self and other values to be equal, and is used
by ==.source§impl Serialize for ManifestEntry
impl Serialize for ManifestEntry
impl StructuralPartialEq for ManifestEntry
Auto Trait Implementations§
impl RefUnwindSafe for ManifestEntry
impl Send for ManifestEntry
impl Sync for ManifestEntry
impl Unpin for ManifestEntry
impl UnwindSafe for ManifestEntry
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