Added function to set value for metadata for known types #29

Merged
phoenix merged 4 commits from set_meta_value into devel 2025-06-21 20:40:16 +00:00
Showing only changes of commit 140be111c6 - Show all commits

View File

@@ -19,7 +19,7 @@ pub enum MetadataType {
} }
impl MetadataType { impl MetadataType {
pub fn from_str(s: &str) -> Self { pub fn from_std_str(s: &str) -> Self {
MetadataType::String(s.to_string()) MetadataType::String(s.to_string())
} }