Skip to main content

SourceInputs

Struct SourceInputs 

Source
pub struct SourceInputs {
    pub kind: SourceInputKind,
    pub files: Vec<SourceFile>,
    pub aggregate_hash: String,
}
Expand description

The deterministic input source-set of this run (T12.3) — input identity, not source semantics. Records which files were used, in what order, with what hashes, under what structural kind. It deliberately does not infer source-set membership: those are reconciled as hash-backed/claim-only evidence axes in SourceProfile (backward T12.4d, backzone T12.5b, PACKRATLIST scope T12.5c), and the remaining DATAFORM encoding axes (rearguard/vanguard) are recorded as "unknown" in the build profile until a pinned, deterministic detector exists (T12.5d).

Fields§

§kind: SourceInputKind

Structural input form (not membership), typed (T17.2): SourceInputKind. Multi-file means source form only — it never implies backward/backzone inclusion.

§files: Vec<SourceFile>

The input files in input order (directories expanded in sorted order, then in the order the paths were supplied) — never re-sorted, so the order is faithfully recorded.

§aggregate_hash: String

SHA-256 over the input-ordered sequence of per-file hashes — an order-sensitive identity that changes if the same files are supplied in a different order (cf. the order-independent TzdbProvenance::source_sha256).

Trait Implementations§

Source§

impl Clone for SourceInputs

Source§

fn clone(&self) -> SourceInputs

Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl Debug for SourceInputs

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> CloneToUninit for T
where T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dest: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dest. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T> ToOwned for T
where T: Clone,

Source§

type Owned = T

The resulting type after obtaining ownership.
Source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
Source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.