diff --git a/extensions/fs-info/src/lib.rs b/extensions/fs-info/src/lib.rs index 734c30b..8a3240a 100644 --- a/extensions/fs-info/src/lib.rs +++ b/extensions/fs-info/src/lib.rs @@ -14,12 +14,12 @@ use trussed::{ pub struct FsInfoExtension; -#[derive(Serialize, Deserialize)] +#[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq)] pub enum FsInfoExtensionRequest { FsInfo(FsInfoRequest), } -#[derive(Serialize, Deserialize)] +#[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq)] pub struct FsInfoRequest { pub location: Location, } @@ -40,18 +40,18 @@ impl TryFrom for FsInfoRequest { } } -#[derive(Serialize, Deserialize)] +#[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq)] pub enum FsInfoExtensionReply { FsInfo(FsInfoReply), } -#[derive(Serialize, Deserialize)] +#[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq)] pub struct FsInfoReply { pub block_info: Option, pub available_space: usize, } -#[derive(Serialize, Deserialize)] +#[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq)] pub struct BlockInfo { pub size: usize, pub total: usize,