lets try to make serde work
Some checks failed
Rust/spacepackets/pipeline/head There was a failure building this commit
Rust/spacepackets/pipeline/pr-main There was a failure building this commit

This commit is contained in:
Robin Müller 2023-12-01 16:02:37 +01:00
parent 4d21a79a46
commit 681271a53c
Signed by: muellerr
GPG Key ID: A649FB78196E3849

View File

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