Derive Macro dxr::TryToValue
source · #[derive(TryToValue)]
Available on crate feature
derive
only.Expand description
Procedural macro for deriving an implementation of the TryToValue
trait for structs.
Deriving this trait for enums, unions, tuple structs, or unit structs is not supported, since there would be no canonical way of translating these types to XML-RPC values.
Additionally, non-fixed-size arrays [T]
(i.e. the struct does not implement Sized
)
are not supported.