Struct iceberg_rust_spec::spec::manifest::ManifestEntry
source · pub struct ManifestEntry { /* private fields */ }Expand description
Entry in manifest with the iceberg spec version 2.
Implementations§
source§impl ManifestEntry
impl ManifestEntry
Auto-generated by derive_getters::Getters.
sourcepub fn format_version(&self) -> &FormatVersion
pub fn format_version(&self) -> &FormatVersion
Table format version
sourcepub fn snapshot_id(&self) -> &Option<i64>
pub fn snapshot_id(&self) -> &Option<i64>
Snapshot id where the file was added, or deleted if status is 2. Inherited when null.
sourcepub fn sequence_number(&self) -> &Option<i64>
pub fn sequence_number(&self) -> &Option<i64>
Sequence number when the file was added. Inherited when null.
source§impl ManifestEntry
impl ManifestEntry
pub fn builder() -> ManifestEntryBuilder
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 Freeze for ManifestEntry
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