Skip to main content

DatasetManifest

Struct DatasetManifest 

Source
pub struct DatasetManifest {
    pub dataset_id: String,
    pub display_name: String,
    pub upstream_doi_or_url: String,
    pub license: String,
    pub source_class: String,
    pub vendored_path: String,
    pub fixture_sha256_hex: String,
    pub fixture_byte_size: u64,
}
Expand description

Provenance + identity for the dataset under audit.

WHY: Every receipt the audit emits must cite the upstream source by DOI/URL, the license under which the fixture is reused, the vendored path the audit actually read, and the SHA-256 of the bytes consumed. Carrying these together in one struct prevents partial citations.

Fields§

§dataset_id: String

Short identifier used as the directory name (e.g. "tadbench_f11"). Lowercase, no spaces.

§display_name: String

Human-readable display name (e.g. "TADBench TrainTicket F11").

§upstream_doi_or_url: String

Upstream DOI, URL, or repository reference. Honest non-claim: the audit cites this for provenance; it does not endorse the upstream’s labels or methodology.

§license: String

License under which the audit reuses the fixture bytes ("Apache-2.0", "CC0-1.0", etc.).

§source_class: String

DSFB source-class tag for the dataset (e.g. "DebuggingSoftwareTelemetry", "ObservabilityTraces", "TimeSeriesAnomaly").

§vendored_path: String

Path the audit actually read from (the vendored fixture path).

§fixture_sha256_hex: String

SHA-256 of the fixture file bytes, lowercase hex, 64 chars.

§fixture_byte_size: u64

Size of the fixture file in bytes.

Trait Implementations§

Source§

impl Clone for DatasetManifest

Source§

fn clone(&self) -> DatasetManifest

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 DatasetManifest

Source§

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

Formats the value using the given formatter. Read more
Source§

impl PartialEq for DatasetManifest

Source§

fn eq(&self, other: &DatasetManifest) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 (const: unstable) · Source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
Source§

impl Eq for DatasetManifest

Source§

impl StructuralPartialEq for DatasetManifest

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.