pub struct AttestationContent {
pub spec_version: Box<str>,
pub source_hash: Box<str>,
pub crate_name: Box<str>,
pub crate_version: Box<str>,
pub analysis_tier: AnalysisTier,
pub timestamp: u64,
pub profile: CapabilityProfile,
}Expand description
Signed attestation binding a source hash to its capability profile.
Fields§
§spec_version: Box<str>Schema version for forward compatibility (e.g., "0.1.0").
source_hash: Box<str>SHA-256 digest of the concatenated source files.
crate_name: Box<str>Crate name from Cargo.toml.
crate_version: Box<str>Crate version from Cargo.toml.
analysis_tier: AnalysisTierHow deeply the source was analyzed.
timestamp: u64UTC seconds since Unix epoch.
profile: CapabilityProfileCapability findings from the analysis.
Trait Implementations§
Source§impl Debug for AttestationContent
impl Debug for AttestationContent
Source§impl<'de> Deserialize<'de> for AttestationContent
impl<'de> Deserialize<'de> for AttestationContent
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 AttestationContent
impl PartialEq for AttestationContent
Source§impl Serialize for AttestationContent
impl Serialize for AttestationContent
impl Eq for AttestationContent
impl StructuralPartialEq for AttestationContent
Auto Trait Implementations§
impl Freeze for AttestationContent
impl RefUnwindSafe for AttestationContent
impl Send for AttestationContent
impl Sync for AttestationContent
impl Unpin for AttestationContent
impl UnsafeUnpin for AttestationContent
impl UnwindSafe for AttestationContent
Blanket Implementations§
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