Struct iceberg_rust::spec::snapshot::SnapshotReference
source · pub struct SnapshotReference {
pub snapshot_id: i64,
pub retention: SnapshotRetention,
}
Expand description
Iceberg tables keep track of branches and tags using snapshot references.
Fields§
§snapshot_id: i64
A reference’s snapshot ID. The tagged snapshot or latest snapshot of a branch.
retention: SnapshotRetention
Snapshot retention policy
Trait Implementations§
source§impl Clone for SnapshotReference
impl Clone for SnapshotReference
source§fn clone(&self) -> SnapshotReference
fn clone(&self) -> SnapshotReference
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 SnapshotReference
impl Debug for SnapshotReference
source§impl<'de> Deserialize<'de> for SnapshotReference
impl<'de> Deserialize<'de> for SnapshotReference
source§fn deserialize<__D>(
__deserializer: __D
) -> Result<SnapshotReference, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D
) -> Result<SnapshotReference, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl PartialEq for SnapshotReference
impl PartialEq for SnapshotReference
source§fn eq(&self, other: &SnapshotReference) -> bool
fn eq(&self, other: &SnapshotReference) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for SnapshotReference
impl Serialize for SnapshotReference
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 SnapshotReference
impl StructuralPartialEq for SnapshotReference
Auto Trait Implementations§
impl Freeze for SnapshotReference
impl RefUnwindSafe for SnapshotReference
impl Send for SnapshotReference
impl Sync for SnapshotReference
impl Unpin for SnapshotReference
impl UnwindSafe for SnapshotReference
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.