diff --git a/cyclonedx-bom/src/external_models/normalized_string.rs b/cyclonedx-bom/src/external_models/normalized_string.rs index ec57e0f7..50efde2d 100644 --- a/cyclonedx-bom/src/external_models/normalized_string.rs +++ b/cyclonedx-bom/src/external_models/normalized_string.rs @@ -51,6 +51,12 @@ impl From<&str> for NormalizedString { } } +impl From for String { + fn from(value: NormalizedString) -> Self { + value.0 + } +} + impl Deref for NormalizedString { type Target = str;