pub struct VersionEntry {
pub version_id: String,
pub etag: String,
pub size: u64,
pub is_delete_marker: bool,
pub created_at: DateTime<Utc>,
}Expand description
Per-version metadata. is_delete_marker が true の entry は backend storage
に bytes を持たない (= tombstone) — etag は空 / size は 0 になる。
Fields§
§version_id: String"null" (Suspended / Unversioned に書かれた version) または UUIDv4 hex
(Enabled bucket で生成された version)。
etag: String圧縮済 / 平文 bytes の MD5 / S4 内部 crc 由来 etag。delete marker は ""。
size: u64客 (= decompressed) サイズ。delete marker は 0。
is_delete_marker: bool§created_at: DateTime<Utc>Trait Implementations§
Source§impl Clone for VersionEntry
impl Clone for VersionEntry
Source§fn clone(&self) -> VersionEntry
fn clone(&self) -> VersionEntry
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 VersionEntry
impl Debug for VersionEntry
Source§impl<'de> Deserialize<'de> for VersionEntry
impl<'de> Deserialize<'de> for VersionEntry
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 PartialEq for VersionEntry
impl PartialEq for VersionEntry
Source§fn eq(&self, other: &VersionEntry) -> bool
fn eq(&self, other: &VersionEntry) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for VersionEntry
impl Serialize for VersionEntry
impl Eq for VersionEntry
impl StructuralPartialEq for VersionEntry
Auto Trait Implementations§
impl Freeze for VersionEntry
impl RefUnwindSafe for VersionEntry
impl Send for VersionEntry
impl Sync for VersionEntry
impl Unpin for VersionEntry
impl UnsafeUnpin for VersionEntry
impl UnwindSafe for VersionEntry
Blanket Implementations§
Source§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
Source§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
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.