pub struct ParserPackNativeAudit {
pub policy_sha256: Sha256Digest,
pub report_sha256: Sha256Digest,
pub audited_libraries: u32,
pub forbidden_imports: u32,
pub unexpected_dependencies: u32,
pub missing_exports: u32,
pub unexpected_exports: u32,
}Expand description
Closed native binary-audit summary for one platform realization.
Fields§
§policy_sha256: Sha256DigestSHA-256 of the closed checked-in native audit policy.
report_sha256: Sha256DigestSHA-256 of the normalized per-library audit report.
audited_libraries: u32Number of accepted grammar libraries audited.
forbidden_imports: u32Forbidden imported symbols found across accepted libraries.
unexpected_dependencies: u32Dependencies outside the platform allowlist.
missing_exports: u32Required grammar constructors missing from accepted libraries.
unexpected_exports: u32Unexpected Tree-sitter constructor/helper exports.
Trait Implementations§
Source§impl Clone for ParserPackNativeAudit
impl Clone for ParserPackNativeAudit
Source§fn clone(&self) -> ParserPackNativeAudit
fn clone(&self) -> ParserPackNativeAudit
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ParserPackNativeAudit
impl Debug for ParserPackNativeAudit
Source§impl<'de> Deserialize<'de> for ParserPackNativeAudit
impl<'de> Deserialize<'de> for ParserPackNativeAudit
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 ParserPackNativeAudit
impl PartialEq for ParserPackNativeAudit
Source§impl Serialize for ParserPackNativeAudit
impl Serialize for ParserPackNativeAudit
impl Eq for ParserPackNativeAudit
impl StructuralPartialEq for ParserPackNativeAudit
Auto Trait Implementations§
impl Freeze for ParserPackNativeAudit
impl RefUnwindSafe for ParserPackNativeAudit
impl Send for ParserPackNativeAudit
impl Sync for ParserPackNativeAudit
impl Unpin for ParserPackNativeAudit
impl UnwindSafe for ParserPackNativeAudit
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.