xso: Implement FromXmlText and AsXmlText for NodePart,DomainPart,ResourcePart
This commit is contained in:
parent
3c77ee0cc7
commit
8c033a3fa0
3 changed files with 11 additions and 0 deletions
|
|
@ -117,6 +117,12 @@ convert_via_fromstr_and_display! {
|
|||
jid::FullJid,
|
||||
#[cfg(feature = "jid")]
|
||||
jid::BareJid,
|
||||
#[cfg(feature = "jid")]
|
||||
jid::NodePart,
|
||||
#[cfg(feature = "jid")]
|
||||
jid::DomainPart,
|
||||
#[cfg(feature = "jid")]
|
||||
jid::ResourcePart,
|
||||
}
|
||||
|
||||
/// Represent a way to encode/decode text data into a Rust type.
|
||||
|
|
|
|||
Loading…
Reference in a new issue