-
Notifications
You must be signed in to change notification settings - Fork 12
Closed
Description
It doesn't seem like it's possible to do
#[derive(Debug, XmlRead, XmlWrite)]
#[xml(tag = "Packet")]
struct Packet<T>
where
T: XmlRead + XmlWrite,
{
#[xml(flatten_text = "Command")]
command: Command,
#[xml(child = "DatabaseManager")]
database_manager: T,
}Would it be possible to move the trait bounds into the impl, the way serde does it?
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels