pub struct ManifestPart {
pub part_id: u32,
pub path: String,
pub rows: i64,
pub size_bytes: u64,
pub content_fingerprint: String,
pub content_md5: String,
pub status: PartStatus,
}Expand description
One committed (or quarantined) output part.
path is relative to the destination prefix (ADR-0012 §Manifest
schema) so the manifest is portable across copies of the dataset.
Fields§
§part_id: u32§path: String§rows: i64§size_bytes: u64§content_fingerprint: Stringxxh3 fingerprint of the part body. Format mirrors crate::state::schema_fingerprint:
"xxh3:<16-hex>". Algorithm prefix MUST be checked before interpreting
the hex body (sha256/blake3 reserved for future hashers).
content_md5: StringBase64 MD5 of the part body, in GCS’s md5Hash encoding — lets
destination verification compare against the object’s listing metadata
with no download (GCS/S3/Azure surface this; the comparison rides
the listing --validate already does). Empty for legacy manifests and
for parts whose MD5 could not be computed; the check then degrades to
size-only. #[serde(default)] keeps pre-0.7.x manifests parseable.
status: PartStatusTrait Implementations§
Source§impl Clone for ManifestPart
impl Clone for ManifestPart
Source§fn clone(&self) -> ManifestPart
fn clone(&self) -> ManifestPart
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for ManifestPart
impl Debug for ManifestPart
Source§impl<'de> Deserialize<'de> for ManifestPart
impl<'de> Deserialize<'de> for ManifestPart
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>,
Source§impl PartialEq for ManifestPart
impl PartialEq for ManifestPart
Source§fn eq(&self, other: &ManifestPart) -> bool
fn eq(&self, other: &ManifestPart) -> bool
self and other values to be equal, and is used by ==.