pub struct SchemaRegistryEntry {Show 14 fields
pub capability_id: &'static str,
pub capability_version: u32,
pub record_family: &'static str,
pub record_version: u32,
pub schema: SchemaRef,
pub schema_fingerprint: [u8; 32],
pub enum_registry_versions: &'static [(&'static str, u32)],
pub sort_key: &'static [&'static str],
pub diff_identity_fields: &'static [&'static str],
pub diff_record_uuid_field: Option<&'static str>,
pub fingerprint_domain: CanonicalDomain,
pub owner: &'static str,
pub implementation_issue: u64,
pub max_rows: usize,
}Expand description
Authoritative registry entry for one provenance record family.
Fields§
§capability_id: &'static strStable capability ID.
capability_version: u32Capability contract version.
record_family: &'static strStable record-family ID.
record_version: u32Record contract version.
schema: SchemaRefExact Arrow schema.
schema_fingerprint: [u8; 32]Canonical schema fingerprint.
enum_registry_versions: &'static [(&'static str, u32)]Closed enum-registry version used by this record family.
sort_key: &'static [&'static str]Canonical persisted sort key.
diff_identity_fields: &'static [&'static str]Logical fields that uniquely identify one record for checkpoint diffs.
diff_record_uuid_field: Option<&'static str>Logical UUID field surfaced as record_uuid, when this family owns one.
fingerprint_domain: CanonicalDomainFingerprint domain.
owner: &'static strOwning crate.
implementation_issue: u64Implementation issue.
max_rows: usizeMaximum accepted rows.
Implementations§
Source§impl SchemaRegistryEntry
impl SchemaRegistryEntry
Sourcepub const fn diff_identity_fingerprint_domain(&self) -> CanonicalDomain
pub const fn diff_identity_fingerprint_domain(&self) -> CanonicalDomain
Domain for owner-declared logical identity projections in checkpoint diffs.
Sourcepub const fn diff_record_fingerprint_domain(&self) -> CanonicalDomain
pub const fn diff_record_fingerprint_domain(&self) -> CanonicalDomain
Domain for owner-canonical whole-record checkpoint fingerprints.
Trait Implementations§
Source§impl Clone for SchemaRegistryEntry
impl Clone for SchemaRegistryEntry
Source§fn clone(&self) -> SchemaRegistryEntry
fn clone(&self) -> SchemaRegistryEntry
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 moreAuto Trait Implementations§
impl Freeze for SchemaRegistryEntry
impl RefUnwindSafe for SchemaRegistryEntry
impl Send for SchemaRegistryEntry
impl Sync for SchemaRegistryEntry
impl Unpin for SchemaRegistryEntry
impl UnsafeUnpin for SchemaRegistryEntry
impl UnwindSafe for SchemaRegistryEntry
Blanket Implementations§
impl<T> Allocation for T
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