pub struct ObjectVerification {
pub object_id: ObjectId,
pub object_type: ObjectType,
pub path: PathBuf,
pub rollback_patch_count: usize,
pub sealed_by_key_id: Option<String>,
pub author_verification: Option<AuthorSignatureVerification>,
}Expand description
Verification summary for a single persisted object.
Fields§
§object_id: ObjectIdThe object ID parsed from the object filename.
object_type: ObjectTypeThe object type implied by the directory being scanned.
path: PathBufThe object file path that was checked.
rollback_patch_count: usizeRollback-marked Patch references verified for this object when it is a Block.
sealed_by_key_id: Option<String>For a Block or RefState, the adopted MAINTAINER key id whose signature was trusted (DC-78
§D3). None for other object types, or when publication trust could not be established.
For a Patch, the outcome of checking its AUTHOR signature against recorded key material
(DC-53 Stage 1). None for other object types, or when the Patch carries no AUTHOR-role
signature at all (out of this increment’s scope). A signature that does not verify against
recorded material never reaches this field – it fails this object’s own item check
instead, the same as any other authorship-integrity defect.
Trait Implementations§
Source§impl Clone for ObjectVerification
impl Clone for ObjectVerification
Source§fn clone(&self) -> ObjectVerification
fn clone(&self) -> ObjectVerification
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more