pub struct IRModuleProvenance {
pub module: String,
pub origin: String,
pub content_hash: String,
pub interface_hash: String,
pub line_base: u32,
pub line_count: u32,
pub declarations: Vec<String>,
}Expand description
v2.76.0 — one linked module’s provenance record: the audit chain from a deployed multi-module artifact back to its sources.
Fields§
§module: StringDotted module path (axon.security).
origin: StringDisplay origin (file path or bundle key).
content_hash: StringSHA-256 of the module’s source bytes.
interface_hash: StringSHA-256 of the module’s .axi interface (comment-stable).
line_base: u32First virtual line assigned to this module by the link renumbering.
line_count: u32Number of source lines the module occupies.
declarations: Vec<String>The module’s exported declaration names (deterministic order).
Trait Implementations§
Source§impl Clone for IRModuleProvenance
impl Clone for IRModuleProvenance
Source§fn clone(&self) -> IRModuleProvenance
fn clone(&self) -> IRModuleProvenance
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 moreSource§impl Debug for IRModuleProvenance
impl Debug for IRModuleProvenance
Source§impl Serialize for IRModuleProvenance
impl Serialize for IRModuleProvenance
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
Auto Trait Implementations§
impl Freeze for IRModuleProvenance
impl RefUnwindSafe for IRModuleProvenance
impl Send for IRModuleProvenance
impl Sync for IRModuleProvenance
impl Unpin for IRModuleProvenance
impl UnsafeUnpin for IRModuleProvenance
impl UnwindSafe for IRModuleProvenance
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