diff --git a/object_store/src/lib.rs b/object_store/src/lib.rs index cffcbbdd4353..1eed686f7658 100644 --- a/object_store/src/lib.rs +++ b/object_store/src/lib.rs @@ -916,7 +916,7 @@ pub struct ObjectMeta { } /// Options for a get request, such as range -#[derive(Debug, Default, Clone)] +#[derive(Debug, Default, Clone, PartialEq, Eq)] pub struct GetOptions { /// Request will succeed if the `ObjectMeta::e_tag` matches /// otherwise returning [`Error::Precondition`] diff --git a/object_store/src/payload.rs b/object_store/src/payload.rs index d71f016bcd0d..42fa5b5cbc29 100644 --- a/object_store/src/payload.rs +++ b/object_store/src/payload.rs @@ -19,7 +19,7 @@ use bytes::Bytes; use std::sync::Arc; /// A cheaply cloneable, ordered collection of [`Bytes`] -#[derive(Debug, Clone)] +#[derive(Debug, Clone, PartialEq, Eq)] pub struct PutPayload(Arc<[Bytes]>); impl Default for PutPayload {