We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
From<BnString>
QualifiedName
1 parent 9eaa937 commit a096122Copy full SHA for a096122
1 file changed
rust/src/qualified_name.rs
@@ -193,6 +193,15 @@ impl From<String> for QualifiedName {
193
}
194
195
196
+impl From<BnString> for QualifiedName {
197
+ fn from(value: BnString) -> Self {
198
+ Self {
199
+ items: vec![value.to_string_lossy().to_string()],
200
+ separator: String::from("::"),
201
+ }
202
203
+}
204
+
205
impl From<&str> for QualifiedName {
206
fn from(value: &str) -> Self {
207
Self::from(value.to_string())
0 commit comments