#[repr(u16)]pub enum ObjectType {
Patch = 1,
Block = 2,
RefState = 3,
RefUpdate = 4,
Tag = 5,
Attestation = 6,
Blob = 7,
BlockSummaryCache = 8,
RecoveryNote = 9,
ProjectGenesis = 10,
RecognitionClaim = 11,
}Expand description
A Prikk object type code.
Variants§
Patch = 1
Patch object.
Block = 2
Block object.
RefState = 3
RefState object.
RefUpdate = 4
RefUpdate event. Object-envelope type stored inline in refs/logs/
(journal then log), not a permanent object-store directory.
Tag = 5
Tag object.
Attestation = 6
Attestation object.
Blob = 7
Blob object.
BlockSummaryCache = 8
Rebuildable block-summary cache. Uses the canonical codec for reproducibility but is never a root of trust or part of block identity.
RecoveryNote = 9
Signed doctor-repair note stored inline in refs/recovery/. Never a
RefUpdate substitute (FDD-02 §10.4).
ProjectGenesis = 10
Project identity anchor; its ObjectId is the project_id (FDD-03 §9.13).
RecognitionClaim = 11
RFC 115 Stage 2 (design-v1.md D3): a signed claim that named patches were sealed into a
named block, under the signer’s key. Never trust-conferring and never existence-checked
against the block/patches it names — see RecognitionClaimPayload’s own doc.
Implementations§
Trait Implementations§
Source§impl Clone for ObjectType
impl Clone for ObjectType
Source§fn clone(&self) -> ObjectType
fn clone(&self) -> ObjectType
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more