diff options
| author | Max Verevkin <maxxverrr@gmail.com> | 2022-04-10 11:16:25 +0300 |
|---|---|---|
| committer | Max Verevkin <maxxverrr@gmail.com> | 2022-04-10 11:23:51 +0300 |
| commit | dcc20f7aca51a4ca1f47c15730a1c9e9d8dfdfc7 (patch) | |
| tree | eb3e94e385fec28145916ba8f98fe543a32864d0 /src/i3bar_protocol.rs | |
| parent | f127f935fc47826d2d3e687a4ad2b3449a370b5f (diff) | |
| download | i3bar-mango-dcc20f7aca51a4ca1f47c15730a1c9e9d8dfdfc7.tar.gz | |
rounded corners
Diffstat (limited to 'src/i3bar_protocol.rs')
| -rw-r--r-- | src/i3bar_protocol.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/i3bar_protocol.rs b/src/i3bar_protocol.rs index 4ef68ba..891fba6 100644 --- a/src/i3bar_protocol.rs +++ b/src/i3bar_protocol.rs @@ -6,7 +6,7 @@ use serde::Deserialize; use serde::Serialize; use std::io::{Error, ErrorKind, Result}; -#[derive(Deserialize, Default)] +#[derive(Clone, Deserialize, Default)] pub struct Block { pub full_text: String, #[serde(default)] @@ -39,7 +39,7 @@ fn def_sep_width() -> u8 { 9 } -#[derive(Deserialize, Clone)] +#[derive(Deserialize, Clone, PartialEq, Eq)] #[serde(untagged)] pub enum MinWidth { Text(String), |
