Commit dfcca0d3 authored by Marc-André Lureau's avatar Marc-André Lureau
Browse files

zb: derive Clone for PrimaryHeader



Next commit is going to embed MessagePrimaryHeader in MessageHeader,
which must have Clone
Signed-off-by: default avatarMarc-André Lureau <marcandre.lureau@redhat.com>
parent a12d71b9
......@@ -95,7 +95,7 @@ pub enum MessageFlags {
/// The primary message header, which is present in all D-Bus messages.
///
/// This header contains all the essential information about a message, regardless of its type.
#[derive(Debug, Serialize, Deserialize, Type)]
#[derive(Clone, Debug, Serialize, Deserialize, Type)]
pub struct MessagePrimaryHeader {
endian_sig: EndianSig,
msg_type: MessageType,
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment