From e9d618cbf2c0fa7a3d7d7255909f12a18aa6863d Mon Sep 17 00:00:00 2001 From: Ritchie Vink Date: Sun, 7 Nov 2021 11:39:21 +0100 Subject: [PATCH] impl Default for ipc WriteOptions (#583) --- src/io/ipc/write/common.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/io/ipc/write/common.rs b/src/io/ipc/write/common.rs index c557b5bf147..4454831610a 100644 --- a/src/io/ipc/write/common.rs +++ b/src/io/ipc/write/common.rs @@ -40,7 +40,7 @@ pub enum Compression { } /// Options declaring the behaviour of writing to IPC -#[derive(Debug, Clone, Copy, PartialEq, Eq, Hash)] +#[derive(Debug, Clone, Copy, PartialEq, Eq, Hash, Default)] pub struct WriteOptions { /// Whether the buffers should be compressed and which codec to use. /// Note: to use compression the crate must be compiled with feature `io_ipc_compression`.