xso: Implement FromXmlText and AsXmlText for NodePart,DomainPart,ResourcePart

This commit is contained in:
xmppftw xmppftw 2024-12-17 17:00:53 +01:00 committed by xmpp ftw
commit 8c033a3fa0
3 changed files with 11 additions and 0 deletions

View file

@ -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.