From d3d7d133e00d16e77713d9ae18ddf5e84bb9450d Mon Sep 17 00:00:00 2001 From: Amir Abdin Date: Mon, 19 Jan 2026 14:05:17 +0100 Subject: [PATCH] fix(mount): add PartialEq --- testcontainers/src/core/mounts.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/testcontainers/src/core/mounts.rs b/testcontainers/src/core/mounts.rs index db5a222e..5d84f62a 100644 --- a/testcontainers/src/core/mounts.rs +++ b/testcontainers/src/core/mounts.rs @@ -1,6 +1,6 @@ /// Represents a filesystem mount. /// For more information see [Docker Storage](https://docs.docker.com/storage/) documentation. -#[derive(Debug, Clone)] +#[derive(Debug, Clone, PartialEq)] pub struct Mount { access_mode: AccessMode, mount_type: MountType, @@ -10,7 +10,7 @@ pub struct Mount { } /// Options for configuring tmpfs mounts. -#[derive(Debug, Clone, Default)] +#[derive(Debug, Clone, Default, PartialEq)] pub struct MountTmpfsOptions { /// Size of the tmpfs mount in bytes. pub size_bytes: Option,