#[non_exhaustive]pub struct DatasetInfo {
pub dataset_type: Option<String>,
pub sensitivity_classifications: Vec<String>,
pub governance_owners: Vec<String>,
pub intended_use: Option<String>,
pub confidentiality_level: Option<String>,
pub preprocessing: Vec<String>,
pub anonymization: Vec<String>,
}Expand description
Dataset component metadata (CycloneDX 1.5+ data type)
Structured information about datasets, including type, sensitivity, governance, and content properties.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.dataset_type: Option<String>Dataset type: “training”, “testing”, “validation”, “evaluation”
sensitivity_classifications: Vec<String>Sensitivity classifications: “sensitive”, “confidential”, “pii”, etc.
governance_owners: Vec<String>Data governance owners/custodians
intended_use: Option<String>Intended use of the dataset (SPDX 3.0 Dataset profile
dataset_intendedUse). Part of the BSI/G7 SBOM-for-AI “Datasets”
cluster provenance / intended-use element.
confidentiality_level: Option<String>Confidentiality level of the dataset (SPDX 3.0 Dataset profile
dataset_confidentialityLevel). Distinct from the sensitivity
classifications above, which already fold this in for AI-Act scoring;
retained verbatim here for the BSI sensitivity-classification element.
preprocessing: Vec<String>Data-preprocessing steps applied to the dataset (SPDX 3.0 Dataset
profile dataset_dataPreprocessing). Surfaced for the BSI/G7
SBOM-for-AI “Datasets” cluster provenance element.
anonymization: Vec<String>Anonymization methods applied to the dataset (SPDX 3.0 Dataset profile
dataset_anonymizationMethodUsed). Surfaced for the BSI/G7
SBOM-for-AI “Datasets” cluster provenance element.
Trait Implementations§
Source§impl Clone for DatasetInfo
impl Clone for DatasetInfo
Source§fn clone(&self) -> DatasetInfo
fn clone(&self) -> DatasetInfo
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for DatasetInfo
impl Debug for DatasetInfo
Source§impl Default for DatasetInfo
impl Default for DatasetInfo
Source§fn default() -> DatasetInfo
fn default() -> DatasetInfo
Source§impl<'de> Deserialize<'de> for DatasetInfo
impl<'de> Deserialize<'de> for DatasetInfo
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>,
impl Eq for DatasetInfo
Source§impl PartialEq for DatasetInfo
impl PartialEq for DatasetInfo
Source§fn eq(&self, other: &DatasetInfo) -> bool
fn eq(&self, other: &DatasetInfo) -> bool
self and other values to be equal, and is used by ==.Source§impl Serialize for DatasetInfo
impl Serialize for DatasetInfo
impl StructuralPartialEq for DatasetInfo
Auto Trait Implementations§
impl Freeze for DatasetInfo
impl RefUnwindSafe for DatasetInfo
impl Send for DatasetInfo
impl Sync for DatasetInfo
impl Unpin for DatasetInfo
impl UnsafeUnpin for DatasetInfo
impl UnwindSafe for DatasetInfo
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
key and return true if they are equal.Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more