Added function to set value for metadata for known types #29
@@ -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())
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user