lets try to make serde work
This commit is contained in:
parent
4d21a79a46
commit
681271a53c
@ -243,6 +243,7 @@ impl<'opts> Iterator for OptionsIter<'opts> {
|
|||||||
/// This abstraction exposes a specialized API for reading a metadata PDU with minimal copying
|
/// This abstraction exposes a specialized API for reading a metadata PDU with minimal copying
|
||||||
/// involved.
|
/// involved.
|
||||||
#[derive(Debug)]
|
#[derive(Debug)]
|
||||||
|
#[cfg_attr(feature = "serde", derive(Serialize, Deserialize))]
|
||||||
pub struct MetadataPduReader<'buf> {
|
pub struct MetadataPduReader<'buf> {
|
||||||
pdu_header: PduHeader,
|
pdu_header: PduHeader,
|
||||||
metadata_params: MetadataGenericParams,
|
metadata_params: MetadataGenericParams,
|
||||||
|
Loading…
Reference in New Issue
Block a user